(id)
| 54 | } |
| 55 | } |
| 56 | async task_finish(id) { |
| 57 | let result = await this.taskRequest("post", `https://fenxiang-lottery-api.fenxianglife.com/fenxiang-lottery/lotteryCode/task/finish`, JSON.stringify({ |
| 58 | "taskId": id |
| 59 | })) |
| 60 | console.log(result); |
| 61 | if (result.code == 200) { |
| 62 | $.log(`✅账号[${this.index}] 任务${id}完成🎉`) |
| 63 | } else { |
| 64 | $.log(`❌账号[${this.index}] 任务${id}失败`); |
| 65 | //console.log(result); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | async special_finish() { |
| 70 | let result = await this.taskRequest("post", `https://api.fenxianglife.com/njia/game/task/special/finish`, JSON.stringify({ |
no test coverage detected