| 50 | } |
| 51 | } |
| 52 | async user_info() { |
| 53 | try { |
| 54 | let options = { |
| 55 | method: "post", |
| 56 | url: `https://eapp.eastobacco.com/index.php?m=api&c=user&a=userinfo`, |
| 57 | headers: { |
| 58 | "Content-Type": "application/x-www-form-urlencoded" |
| 59 | }, |
| 60 | data: `platform=android&token=${this.ck}×tamp=${Date.now()}&api_version=4` |
| 61 | } |
| 62 | let { data: result } = await axios.request(options); |
| 63 | //console.log(options); |
| 64 | //console.log(result); |
| 65 | if (result.code == 200) { |
| 66 | $.log(`✅账号[${this.index}] 积分[${result.data.point}]🎉`) |
| 67 | this.ckStatus = true; |
| 68 | } else { |
| 69 | console.log(`❌账号[${this.index}] 用户查询: 失败`); |
| 70 | this.ckStatus = false; |
| 71 | console.log(result); |
| 72 | } |
| 73 | } catch (e) { |
| 74 | console.log(e); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | async task_daka() { |
| 79 | try { |