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

Method task_list

jlld.js:81–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81 async task_list() {
82 try {
83 let options = {
84 fn: "任务列表",
85 method: "post",
86 url: `https://app-api.radar-ev.com/appapi/radarpoints/api/task/manage/list`,
87 headers: this.headers,
88 body: JSON.stringify({ "taskType": "20", "version": 261 })
89 }
90 let { body: result } = await $.httpRequest(options);
91 //console.log(options);
92 //console.log(JSON.stringify(result));
93 if (result.code == 200) {
94 $.log(`当前积分[${result.data.points}]`)
95 this.taskList = result.data.taskItems
96
97 } else {
98 console.log(`❌账号[${this.index}] 用户查询: 失败`);
99 console.log(result);
100 }
101 } catch (e) {
102 console.log(e);
103 }
104 }
105
106 async task_like(essayId) {
107 try {

Callers 1

mainMethod · 0.95

Calls 2

httpRequestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected