()
| 66 | } |
| 67 | |
| 68 | async userInfo() { |
| 69 | let options = { |
| 70 | method: 'GET', |
| 71 | url: `https://api.xinc818.com/mini/user`, |
| 72 | headers: {} |
| 73 | |
| 74 | }; |
| 75 | let { data: result } = await this.request(options); |
| 76 | if (result.code == 0) { |
| 77 | $.log(`✅账号[${this.index}] 【${result.data.nickname}】积分【${result.data.integral}】🎉`) |
| 78 | this.userId = result.data.id |
| 79 | } else { |
| 80 | console.log(`❌账号[${this.index}] 用户查询【false】`); |
| 81 | console.log(result); |
| 82 | } |
| 83 | |
| 84 | } |
| 85 | async signIn() { |
| 86 | let options = { |
| 87 | method: 'GET', |