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

Function isLoginError

wxapp/qiaqia.js:80–82  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

78}
79
80function isLoginError(message) {
81 return /登录|授权|SESSION|token|-2|401|403|expire|过期|失效/i.test(String(message || ""));
82}
83
84class Task {
85 constructor(openid) {

Callers 1

doSignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected