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

Method task_finish

fenxiang.js:56–67  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

54 }
55 }
56 async task_finish(id) {
57 let result = await this.taskRequest("post", `https://fenxiang-lottery-api.fenxianglife.com/fenxiang-lottery/lotteryCode/task/finish`, JSON.stringify({
58 "taskId": id
59 }))
60 console.log(result);
61 if (result.code == 200) {
62 $.log(`✅账号[${this.index}] 任务${id}完成🎉`)
63 } else {
64 $.log(`❌账号[${this.index}] 任务${id}失败`);
65 //console.log(result);
66 }
67 }
68
69 async special_finish() {
70 let result = await this.taskRequest("post", `https://api.fenxianglife.com/njia/game/task/special/finish`, JSON.stringify({

Callers 1

mainMethod · 0.95

Calls 2

taskRequestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected