修改部分判断条件
This commit is contained in:
1 parent
0be23710ad
commit
28749931f7
3 files changed
+12
-5
No files matched your search
@@ -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 })
|
||||
|
||||
Reference in new issue
Block a user