MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / drwa

Method drwa

daily/mtf.js:87–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86 }
87 async drwa() {
88 let options = {
89 method: 'POST',
90 url: `https://jsapi.58moto.com/coins/turntable/activity/draw`,
91 headers: {
92 "content-type": "application/x-www-form-urlencoded"
93 },
94 data: `token=${this.token}&uid=${this.uid}&autherid=${this.uid}&platform=2&version=3.66.80&deviceId=53B5DA97-C72D-4C19-A219-70D8A9A31290&bundleId=com.jdd.motorfans&activityId=24`
95 }
96 let { data: result } = await axios.request(options);
97 if (result?.code == 0) {
98 $.log(`抽奖成功:${result.data.awardName} 🎉`);
99 } else {
100 $.log(`抽奖: 失败 ❌ 了呢,原因未知!`);
101 console.log(result);
102 }
103
104
105
106
107 }
108
109
110 //做任务需要wtoken逆向 不想写

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected