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

Method doSubscribePrize

wxapp/junpinhui.js:570–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

568 }
569
570 async doSubscribePrize() {
571 try {
572 const data = await this.gardenGet("/garden/tasks/getSubscribePrize");
573 $.log(`账号[${this.index}] 订阅奖励: ${shortJson(data || "ok")}`);
574 } catch (e) {
575 $.log(`账号[${this.index}] 订阅奖励失败: ${e.message || e}`);
576 }
577 }
578
579 async doTasks(tasks) {
580 const pending = tasks.filter((task) => !isCompleted(task));

Callers 1

doTasksMethod · 0.95

Calls 3

gardenGetMethod · 0.95
shortJsonFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected