MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / isTokenError

Function isTokenError

wxapp/nice.js:86–88  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

84}
85
86function isTokenError(message) {
87 return /40313|40317|unlogin|token|登录|授权|invalid/i.test(String(message || ""));
88}
89
90class Task {
91 constructor(openid) {

Callers 2

getUserMethod · 0.70
doSignMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected