|
@@ -52,13 +52,13 @@
|
|
|
inputList: [],
|
|
|
//计时器
|
|
|
count_down: 60,
|
|
|
- status: false
|
|
|
+ status: false,
|
|
|
+ clientId:""
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
- console.log("options", options.phone)
|
|
|
+ this.clientId = uni.getStorageSync("clientId")
|
|
|
this.phone = options.phone
|
|
|
- console.log("phone:", this.phone);
|
|
|
if (this.phone) {
|
|
|
this.regain()
|
|
|
} else {
|
|
@@ -125,18 +125,14 @@
|
|
|
title: '登录中',
|
|
|
mask: true
|
|
|
})
|
|
|
- console.log("----------------------------")
|
|
|
- console.log(this.phone)
|
|
|
- console.log(this.inputList)
|
|
|
this.$request.baseRequest('get', '/commonUser/loginVerifyCode', {
|
|
|
phone: this.phone,
|
|
|
verifyCode: this.inputList,
|
|
|
loginFlag: 1,
|
|
|
- identification: 2
|
|
|
+ identification: 2,
|
|
|
+ cid:this.clientId
|
|
|
}).then(res => {
|
|
|
- console.log("res",res)
|
|
|
if (res.code == 200) {
|
|
|
- console.log("res",res)
|
|
|
uni.setStorageSync('userInfo', res.data)
|
|
|
helper.getListByUserId()
|
|
|
that.$store.commit('login', res.data)
|
|
@@ -164,7 +160,6 @@
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
</script>
|