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

Function isTokenError

wxapp/campari.js:51–53  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

49}
50
51function isTokenError(message) {
52 return /token|授权|登录|401|403|expire|过期|失效/i.test(String(message || ""));
53}
54
55function rewardText(flowList) {
56 if (!Array.isArray(flowList) || !flowList.length) return "";

Callers 1

doSignMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected