(calId)
| 216 | } |
| 217 | } |
| 218 | async do_cal(calId) {//收取精力 |
| 219 | try { |
| 220 | let options = { |
| 221 | url: `https://carbon.lcago.cn/interact/collect`, |
| 222 | headers: this.headers, |
| 223 | body: `{"token":"${this.ck}","platform":"android","model":"MI8Lite","appChannel":"qtx","version":"1.3.3_VersionCode_133","deviceCoding":"${this.deviceCoding}","language":"ZH","systemversion":"10","id":"${calId}"}` |
| 224 | } |
| 225 | //console.log(options); |
| 226 | let result = await httpRequest(options); |
| 227 | //console.log(result); |
| 228 | if (result.respcod == '01') { |
| 229 | DoubleLog(`账号[${this.index}] 收取精力成功`); |
| 230 | } else { |
| 231 | DoubleLog(`账号[${this.index}] 收取精力失效,原因未知!`); |
| 232 | console.log(result); |
| 233 | } |
| 234 | } catch (e) { |
| 235 | console.log(e); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | |
| 240 | } |
no test coverage detected