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

Method finishTask

wxapp/jingyoujia.js:284–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 }
283
284 async finishTask() {
285 try {
286 await this.request({
287 method: "POST",
288 apiPath: "/business/member/task/finish",
289 data: {
290 latitude: 0,
291 longitude: 0,
292 taskType: 1,
293 },
294 });
295 } catch (e) {
296 $.log(`账号[${this.index}] 完成任务上报失败: ${e.message || e}`);
297 }
298 }
299}
300
301!(async () => {

Callers 1

signInMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected