(id)
| 101 | |
| 102 | } |
| 103 | async zeroLotteryJoin(id) { |
| 104 | |
| 105 | let options = { |
| 106 | method: "POST", |
| 107 | url: "https://app.dewu.com/hacking-zero-lottery/v1/activity/engage-in", |
| 108 | headers: { "Content-Type": "application/json" }, |
| 109 | data: { "id": id, "source": "wotab", inner: true } |
| 110 | } |
| 111 | let { data: result } = await this.request(options) |
| 112 | |
| 113 | if (result.code == 200) { |
| 114 | $.log(`账号[${this.index}] 参与0元购成功🎉`) |
| 115 | } else { |
| 116 | $.log(`账号[${this.index}] 参与 0元购失败[${result.msg}]`) |
| 117 | |
| 118 | } |
| 119 | |
| 120 | } |
| 121 | |
| 122 | /*async DoTask(body) { |
| 123 | try { |
no test coverage detected