diff --git a/pages/index/addHangOrder.vue b/pages/index/addHangOrder.vue index e574a84..bbb58ff 100644 --- a/pages/index/addHangOrder.vue +++ b/pages/index/addHangOrder.vue @@ -154,9 +154,14 @@ methods: { //挂单列表 getRegList(){ - this.tui.request("/app/sale/listPages", "POST", { - status:7 - }, false, true).then((res) => { + let obj = { + status:"7", + pageVo:{ + pageNumber:1, + pageSize:10, + } + } + this.tui.request("/app/sale/listPages", "POST", obj, false, false).then((res) => { if (res.code == 200) { this.regList = res.result; } else { diff --git a/pages/login/login.vue b/pages/login/login.vue index efe94f1..47e98fd 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -137,7 +137,9 @@ }, //登录 goLogin() { - let data = {} + let data = {} + console.log(this.loginWay) + console.log(this.wayValue) if (this.loginWay) { //true data = { username: this.username, @@ -155,14 +157,7 @@ type: this.wayValue } } - this.tui.request("/auth/login", "POST", { - username: this.username, - password: this.password, - code: this.code, - captchaId: this.captchaId, - saveLogin: true, - type: this.wayValue - }, true, true).then((res) => { + this.tui.request("/auth/login", "POST", data, true, true).then((res) => { if (res.code == 200) { uni.setStorageSync("hiver_token", res.result.accessToken) let state = {