|
@@ -26,9 +26,6 @@ Component({
|
|
|
*/
|
|
|
methods: {
|
|
|
userPhoneHandler: function(e) {
|
|
|
- // console.log(e.detail.errMsg)
|
|
|
- // console.log(e.detail.iv)
|
|
|
- // console.log(e.detail.encryptedData)
|
|
|
this.phone_encryptedData = e.detail.encryptedData
|
|
|
this.phone_iv = e.detail.iv
|
|
|
this.wxauthen(this.userInfoE)
|
|
@@ -49,7 +46,7 @@ Component({
|
|
|
userInfo = Object.assign({}, app.globalData.userId, app.globalData.userInfo);
|
|
|
}
|
|
|
else {
|
|
|
- let { encryptedData, iv, signature } = e.detail
|
|
|
+ let { encryptedData, iv, signature } = eInfo.detail
|
|
|
userInfo = Object.assign({}, { encryptedData }, { signature }, { iv }, userInfo)
|
|
|
}
|
|
|
|
|
@@ -58,7 +55,8 @@ Component({
|
|
|
user_info: userInfo,
|
|
|
phone_info: phoneInfo,
|
|
|
act: "login",
|
|
|
- op: "wxauthen"
|
|
|
+ op: "wxauthen",
|
|
|
+ relay_id: app.globalData.relay_id
|
|
|
}
|
|
|
|
|
|
let self = this;
|