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

Method taskOutline

wxapp/wps.js:437–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435 }
436
437 async taskOutline() {
438 const authCode = await this.getMainCode();
439 if (!authCode) throw new Error("缺少 openid,无法获取任务 auth_code");
440 const res = await this.request("GET", TASK_OUTLINE, {
441 params: {
442 mp_id: WPS_MPID,
443 auth_code: authCode,
444 },
445 });
446 return assertOk(res, "查询任务列表") || {};
447 }
448
449 async lotteryTimes() {
450 const res = await this.request("GET", LOTTERY_TIMES, {

Callers 1

browseTasksMethod · 0.95

Calls 3

getMainCodeMethod · 0.95
requestMethod · 0.95
assertOkFunction · 0.70

Tested by

no test coverage detected