调整首次进来获取token调用获取用户信息接口
parent
62b55ad099
commit
bac6a56c2e
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue