committed by
trae-solo-agent
co-authored by
Kimi-K3.1-Pro noreply@moonshot.cn
parent
1181d598b4
commit
df96cb3b07
@@ -8,13 +8,6 @@ App({
|
||||
// 登录逻辑只在 app 里有一份,request 层不碰
|
||||
request.setUnauthorizedHandler(() => this.silentSignin())
|
||||
|
||||
let appId = wx.getStorageSync('attendant-appid')
|
||||
if (!appId) {
|
||||
appId = 'app_' + Date.now().toString(36) + Math.random().toString(36).substr(2, 9)
|
||||
wx.setStorageSync('attendant-appid', appId)
|
||||
}
|
||||
this.globalData.appId = appId
|
||||
|
||||
this.loadServices()
|
||||
this.loadAgreement()
|
||||
|
||||
@@ -173,7 +166,6 @@ App({
|
||||
},
|
||||
|
||||
globalData: {
|
||||
appId: '',
|
||||
user: null,
|
||||
chatSocket: null,
|
||||
services: [],
|
||||
|
||||
Reference in New Issue
Block a user