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

Function isTokenError

wxapp/hrj.js:87–89  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

85}
86
87function isTokenError(message) {
88 return /token|登录|授权|invalid|expire|过期|1041|401|403/i.test(String(message || ""));
89}
90
91function rewardText(items) {
92 if (!Array.isArray(items) || !items.length) return "";

Callers 1

doSignMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected