MCPcopy 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
72function isTokenError(message) {
73 return /401|403|token|登录|授权|失效|过期|no-show-toast/i.test(String(message || ""));
74}
75
76class Task {
77 constructor(env) {

Callers 1

getUserInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected