Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ pickToken
Function
pickToken
wxapp/yingshujufeng.js:61–63 ·
view source on GitHub ↗
(data = {})
Source
from the content-addressed store, hash-verified
59
}
60
61
function
pickToken(data = {}) {
62
return
data.accessToken || data.access_token ||
""
;
63
}
64
65
function
isTokenError(message) {
66
return
/access_token|token|登录|授权|invalid session|session/i.test(String(message ||
""
));
Callers
1
applyToken
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected