()
| 117 | } |
| 118 | } |
| 119 | async task_signIn() {//userinfo |
| 120 | try { |
| 121 | let options = { |
| 122 | url: `https://carbon.lcago.cn/signIn/sign`, |
| 123 | headers: this.headers, |
| 124 | body: `{"token":"${this.ck}","platform":"android","model":"MI8","appChannel":"qtx","version":"1.3.3_VersionCode_111","deviceCoding":"${this.deviceCoding}","language":"ZH","systemversion":"10"}` |
| 125 | |
| 126 | } |
| 127 | //console.log(options); |
| 128 | let result = await httpRequest(options); |
| 129 | //console.log(result); |
| 130 | if (result.respcod == '01') { |
| 131 | DoubleLog(`账号[${this.index}] 签到成功`); |
| 132 | } else if (result.respcod == '02') { |
| 133 | DoubleLog(`账号[${this.index}] 今日已签到`); |
| 134 | } else { |
| 135 | DoubleLog(`账号[${this.index}] 签到失效,原因未知!`); |
| 136 | console.log(result); |
| 137 | } |
| 138 | } catch (e) { |
| 139 | console.log(e); |
| 140 | } |
| 141 | } |
| 142 | async get_question() {//获取答题 |
| 143 | try { |
| 144 | let options = { |
no test coverage detected