Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/smallfawn/QLScriptPublic
/ isTokenError
Function
isTokenError
wxapp/haitian.js:72–74 ·
view source on GitHub ↗
(message)
Source
from the content-addressed store, hash-verified
70
}
71
72
function
isTokenError(message) {
73
return
/401|403|token|登录|授权|失效|过期|no-show-toast/i.test(String(message ||
""
));
74
}
75
76
class
Task {
77
constructor(env) {
Callers
1
getUserInfo
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected