()
| 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(); |
no test coverage detected