Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ checkToken
Method
checkToken
wxapp/dasenlin.js:227–234 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
225
}
226
227
async
checkToken() {
228
try {
229
await
this.getSignInfo(false);
230
return
true;
231
} catch (e) {
232
return
false;
233
}
234
}
235
236
async
getSignInfo(needLog = true) {
237
const
data =
await
this.request({
Callers
1
run
Method · 0.95
Calls
1
getSignInfo
Method · 0.95
Tested by
no test coverage detected