()
| 101 | |
| 102 | } |
| 103 | async share() { |
| 104 | let options = { |
| 105 | method: 'GET', |
| 106 | url: `https://api.xinc818.com/mini/dailyTask/share`, |
| 107 | headers: { |
| 108 | "Content-Type": "application/json", |
| 109 | }, |
| 110 | }; |
| 111 | let { data: result } = await this.request(options); |
| 112 | if (result.code == 0) { |
| 113 | $.log(`✅账号[${this.index}] 完成分享成功 获得【${result.data.singleReward}】`) |
| 114 | } else { |
| 115 | console.log(`❌账号[${this.index}] 完成分享失败`); |
| 116 | console.log(result); |
| 117 | } |
| 118 | |
| 119 | } |
| 120 | async tasklist() { |
| 121 | let options = { |
| 122 | method: 'GET', |