()
| 96 | return randomInt(3000, 9000) |
| 97 | } |
| 98 | async user_info() {//userinfo |
| 99 | try { |
| 100 | let options = { |
| 101 | url: `https://carbon.lcago.cn/myCarbonAssets/myData`, |
| 102 | headers: this.headers, |
| 103 | body: `{"token":"${this.ck}","platform":"android","model":"MI8SE","version":"1.1.1_VersionCode_111","deviceCoding":"${this.deviceCoding}","language":"ZH","systemversion":"10"}` |
| 104 | } |
| 105 | //console.log(options); |
| 106 | let result = await httpRequest(options); |
| 107 | //console.log(result); |
| 108 | if (result.respcod == '01') { |
| 109 | DoubleLog(`\n账号[${this.index}] 可兑换余额为:${result.data.exchangeAmt}`) |
| 110 | } else { |
| 111 | DoubleLog(`账号[${this.index}] 获取失效,原因未知!`); |
| 112 | console.log(result); |
| 113 | this.ckStatus = false |
| 114 | } |
| 115 | } catch (e) { |
| 116 | console.log(e); |
| 117 | } |
| 118 | } |
| 119 | async task_signIn() {//userinfo |
| 120 | try { |
| 121 | let options = { |
no test coverage detected