|
@@ -261,7 +261,7 @@ export default {
|
|
console.log("res", res);
|
|
console.log("res", res);
|
|
let _data = res.data[0][0];
|
|
let _data = res.data[0][0];
|
|
if (_data.active === 1) {
|
|
if (_data.active === 1) {
|
|
- await this.$ajax.post(API_CONFIG.baseUrl2 + 'UpdateOpenId', [{openid: this.openid}])
|
|
|
|
|
|
+ await this.$ajax.post(API_CONFIG.baseUrl2 + 'UpdateOpenId', [{userid: _data.userid, openid: this.openid}])
|
|
window.localStorage["identity"] = JSON.stringify(_data.identity);
|
|
window.localStorage["identity"] = JSON.stringify(_data.identity);
|
|
this.$message.success("绑定成功");
|
|
this.$message.success("绑定成功");
|
|
await this.login();
|
|
await this.login();
|