()
| 447 | } |
| 448 | |
| 449 | async lotteryTimes() { |
| 450 | const res = await this.request("GET", LOTTERY_TIMES, { |
| 451 | params: { |
| 452 | position: "wx_xcx_clock_activity", |
| 453 | }, |
| 454 | }); |
| 455 | if (res.result === "ok") { |
| 456 | $.log(`账号[${this.index}] 可抽奖次数: ${res.data ?? 0}`); |
| 457 | return Number(res.data || 0); |
| 458 | } |
| 459 | $.log(`账号[${this.index}] 查询抽奖次数失败: ${res.msg || JSON.stringify(res)}`); |
| 460 | return 0; |
| 461 | } |
| 462 | |
| 463 | flattenTasks(outline = {}) { |
| 464 | const tasks = []; |