MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / zeroLotteryJoin

Method zeroLotteryJoin

daily/dw.js:103–120  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

101
102 }
103 async zeroLotteryJoin(id) {
104
105 let options = {
106 method: "POST",
107 url: "https://app.dewu.com/hacking-zero-lottery/v1/activity/engage-in",
108 headers: { "Content-Type": "application/json" },
109 data: { "id": id, "source": "wotab", inner: true }
110 }
111 let { data: result } = await this.request(options)
112
113 if (result.code == 200) {
114 $.log(`账号[${this.index}] 参与0元购成功🎉`)
115 } else {
116 $.log(`账号[${this.index}] 参与 0元购失败[${result.msg}]`)
117
118 }
119
120 }
121
122 /*async DoTask(body) {
123 try {

Callers 1

zeroLotteryMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected