|
@@ -179,18 +179,37 @@ export default {
|
|
|
wx.getUserProfile({
|
|
wx.getUserProfile({
|
|
|
desc: '获取信息绑定账号',
|
|
desc: '获取信息绑定账号',
|
|
|
success: res => {
|
|
success: res => {
|
|
|
|
|
+ console.log(res);
|
|
|
this.wxInfo = res.userInfo;
|
|
this.wxInfo = res.userInfo;
|
|
|
- this.$http
|
|
|
|
|
- .post('/user/getMaUserInfo', {
|
|
|
|
|
- sessionKey: this.$store.state.sessionKey,
|
|
|
|
|
- rawData: res.rawData,
|
|
|
|
|
- signature: res.signature,
|
|
|
|
|
- encryptedData: res.encryptedData,
|
|
|
|
|
- iv: res.iv
|
|
|
|
|
- })
|
|
|
|
|
- .then(() => {
|
|
|
|
|
- this.showPhone = true;
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.showPhone = true;
|
|
|
|
|
+ // this.$http
|
|
|
|
|
+ // .post(
|
|
|
|
|
+ // '/buyersInfo/saveVO',
|
|
|
|
|
+ // {
|
|
|
|
|
+ // logo: res.avatar,
|
|
|
|
|
+ // nickname: res.nickname
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // header: {
|
|
|
|
|
+ // 'Content-Type': 'application/json'
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ // )
|
|
|
|
|
+ // .then(res => {
|
|
|
|
|
+ // this.$loading.close();
|
|
|
|
|
+ // this.showPhone = true;
|
|
|
|
|
+ // });
|
|
|
|
|
+ // this.$http
|
|
|
|
|
+ // .post('/user/getMaUserInfo', {
|
|
|
|
|
+ // sessionKey: this.$store.state.sessionKey,
|
|
|
|
|
+ // rawData: res.rawData,
|
|
|
|
|
+ // signature: res.signature,
|
|
|
|
|
+ // encryptedData: res.encryptedData,
|
|
|
|
|
+ // iv: res.iv
|
|
|
|
|
+ // })
|
|
|
|
|
+ // .then(() => {
|
|
|
|
|
+ // this.showPhone = true;
|
|
|
|
|
+ // });
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|