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

Method queryAllRewards

wxapp/fuyouhui.js:274–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 async queryAllRewards() {
275 try {
276 const data = assertOk(
277 await request("get", "/online/cms-api/sign/queryAllRewards", { token: this.token }),
278 "查询奖励列表"
279 );
280 return Array.isArray(data) ? data : data.queryAllRewards || data.rewards || [];
281 } catch (e) {
282 $.log(`账号[${this.index}] 奖励列表查询失败: ${e.message || e}`);
283 return [];
284 }
285 }
286
287 async queryScrollScreen() {
288 try {

Callers 1

runMethod · 0.95

Calls 3

assertOkFunction · 0.70
requestFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected