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

Function isTokenError

wxapp/iqoo.js:67–69  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

65}
66
67function isTokenError(message) {
68 return /-4011|401|403|token|登录|授权|请先登录|跳转到登录页|访客没有权限/i.test(String(message || ""));
69}
70
71function maskName(value = "") {
72 const text = String(value || "");

Callers 2

userInfoRequestMethod · 0.70
signInMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected