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

Method checkToken

wxapp/longfor.js:470–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468 }
469
470 async checkToken() {
471 try {
472 await this.getPageConfig();
473 return true;
474 } catch (e) {
475 return false;
476 }
477 }
478
479 async getPageInfo() {
480 const result = await this.taskPost("/openapi/task/v1/signature/page-info", { activity_no: this.activityNo });

Callers 1

runMethod · 0.95

Calls 1

getPageConfigMethod · 0.95

Tested by

no test coverage detected