lsc 2 mēneši atpakaļ
vecāks
revīzija
9cb22ea4d1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/login/loginPage.vue

+ 1 - 1
src/views/login/loginPage.vue

@@ -261,7 +261,7 @@ export default {
 					console.log("res", res);
 					let _data = res.data[0][0];
 					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);
 						this.$message.success("绑定成功");
 						await this.login();