修改部分判断条件

This commit is contained in:
weiwei committed 2025-04-15 15:25:43 +08:00
1 parent 0be23710ad
commit 28749931f7
3 files changed
+12 -5

No files matched your search

+1
View File
@@ -86,6 +86,7 @@ async function handleShLogin(): Promise<boolean> {
const { accountId, sessionId } = userInfo.data
const response = await userApi.authsh({ accountId, sessionId })
// const response = await userApi.authsh({ accountId: "67186e49d63fea141aad6772", sessionId: "67186e49d63fea141aad6776" }) // 测试
if (response.code == 0) {
uni.setStorageSync(TOKEN_KEY, { accessToken: response.data.accessToken })