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

Function isTokenError

wxapp/jingyoujia.js:57–59  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

55}
56
57function isTokenError(message) {
58 return /401|token|登录|授权|未登录|无效|过期/i.test(String(message || ""));
59}
60
61function aesEncrypt(text) {
62 const cipher = crypto.createCipheriv("aes-128-ecb", Buffer.from(AES_KEY, "utf8"), null);

Callers 2

getCustomerDetailsMethod · 0.70
signInMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected