调整首次进来获取token调用获取用户信息接口

master
chen 2022-04-28 15:50:34 +08:00
parent 62b55ad099
commit bac6a56c2e
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@
}, },
success:(data)=>{ success:(data)=>{
uni.setStorageSync('userData',data.data.data); uni.setStorageSync('userData',data.data.data);
this.requestToken({ this.request({
url: this.host + "/api/user/info", url: this.host + "/api/user/info",
type: "post", type: "post",
success: (res) => { success: (res) => {