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

Method queryAssets

wxapp/txdt.js:284–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 }
283
284 async queryAssets() {
285 const data = await this.mapApi("/activity/v1/assert/home", { activity_id: ACTIVITY_ID });
286 $.log(
287 `资产信息:金币=${formatCoin(data.coins)},优惠券=${data.coupons_total || 0},抽奖券=${data.lottery_ticket_total || 0}`
288 );
289 return data;
290 }
291
292 todayKey() {
293 const now = new Date();

Callers 1

runMethod · 0.95

Calls 3

mapApiMethod · 0.95
formatCoinFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected