()
| 42 | } |
| 43 | |
| 44 | async user_info() { |
| 45 | let result = await this.taskRequest("get", `https://api.fenxianglife.com/njia/users/info`) |
| 46 | //console.log(result); |
| 47 | if (result.code == 200) { |
| 48 | $.log(`✅账号[${this.index}] 欢迎用户: ${result.data.userInfo.id}🎉`) |
| 49 | this.ckStatus = true; |
| 50 | } else { |
| 51 | $.log(`❌账号[${this.index}] 用户查询: 失败`); |
| 52 | this.ckStatus = false; |
| 53 | //console.log(result); |
| 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 |
no test coverage detected