调整 token错误更新

This commit is contained in:
浅念
2026-05-08 13:28:09 +08:00
parent bdd6bd1066
commit 845dff1ef7
5 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -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);