调整 token错误更新
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export function silentLogin() {
|
||||
'Fdesk-System-Code': 'wechat'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.code == 0) {
|
||||
if (res.data.code == 200) {
|
||||
const { token, openid } = res.data.data;
|
||||
// 更新本地存储
|
||||
uni.setStorageSync('token', token);
|
||||
|
||||
Reference in New Issue
Block a user