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

Method getPageInfo

wxapp/longfor.js:479–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 }
478
479 async getPageInfo() {
480 const result = await this.taskPost("/openapi/task/v1/signature/page-info", { activity_no: this.activityNo });
481 if (!ok(result?.code)) throw new Error(result?.message || result?.msg || JSON.stringify(result));
482 return result.data || {};
483 }
484
485 todaySigned(pageInfo) {
486 const today = Array.isArray(pageInfo?.seven_days_signs) ? pageInfo.seven_days_signs[0] : {};

Callers 1

signInMethod · 0.95

Calls 2

taskPostMethod · 0.95
okFunction · 0.70

Tested by

no test coverage detected