MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / checkToken

Method checkToken

wxapp/iqoo.js:251–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 }
250
251 async checkToken() {
252 try {
253 if (!this.userId) return false;
254 await this.request("v3/user", { userId: this.userId }, { method: "GET" });
255 return true;
256 } catch (e) {
257 return false;
258 }
259 }
260
261 async userInfoRequest() {
262 if (!this.userId) return;

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected