()
| 26 | await this.userInfo() |
| 27 | } |
| 28 | async task() { |
| 29 | try { |
| 30 | let options = { |
| 31 | fn: "签到", |
| 32 | method: "post", |
| 33 | url: `http://www.jumpingcarp.cn/scrm-rz-wechat-tzlm/lotteryController/extractMemberAwards`, |
| 34 | headers: { |
| 35 | "Connection": "keep-alive", |
| 36 | //"Content-Length": "2", |
| 37 | "Accept": "application/json, text/plain, */*", |
| 38 | "X-Requested-With": "XMLHttpRequest", |
| 39 | "User-Agent": "Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/111.0.5563.116 Mobile Safari/537.36 XWEB/1110017 MMWEBSDK/20231002 MMWEBID/2585 MicroMessenger/8.0.43.2480(0x28002B51) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64", |
| 40 | "Content-Type": "application/json;charset=UTF-8", |
| 41 | "Origin": "http://www.jumpingcarp.cn", |
| 42 | "Referer": "http://www.jumpingcarp.cn/scrm-rz-wechat-tzlm/index.html", |
| 43 | "Accept-Encoding": "gzip, deflate", |
| 44 | "Accept-Language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7", |
| 45 | "Cookie": "JSESSIONID=" + this.ck |
| 46 | }, |
| 47 | body: JSON.stringify({}) |
| 48 | } |
| 49 | let { body: result } = await $.httpRequest(options); |
| 50 | //console.log(options); |
| 51 | console.log(result); |
| 52 | |
| 53 | } catch (e) { |
| 54 | console.log(e); |
| 55 | } |
| 56 | } |
| 57 | async userInfo() { |
| 58 | try { |
| 59 | let options = { |
no test coverage detected