爱尚家接口合并到cms-api.websoft.top

This commit is contained in:
2025-03-05 17:21:00 +08:00
parent 5a030d5a30
commit 2c77a45e5d
23 changed files with 202 additions and 94 deletions

View File

@@ -76,14 +76,15 @@
},
// 1. 未登录则使用免密登录方式登录(游客身份)
onLogin() {
const token = storage.get(ACCESS_TOKEN)
if (!token) {
getToken().then(res => {
uni.reLaunch({
url: '/pages/index/index'
})
})
}
uni.reLaunch({
url: '/pages/index/index'
})
// const token = storage.get(ACCESS_TOKEN)
// if (!token) {
// getToken().then(res => {
// })
// }
}
}