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

Method checkToken

wxapp/jingjianx_all.js:446–457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444 }
445
446 async checkToken() {
447 try {
448 const result = await this.ctx.request({
449 apiPath: "/signed/capp/signed/getreward",
450 shopId: this.shop.shopId,
451 token: this.token,
452 });
453 return !!result.success;
454 } catch {
455 return false;
456 }
457 }
458
459 async login() {
460 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected