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

Method receiveTaskAward

wxapp/ctrip.js:465–476  ·  view source on GitHub ↗
(channelCode, task, receivedTaskId)

Source from the content-addressed store, hash-verified

463 }
464
465 async receiveTaskAward(channelCode, task, receivedTaskId) {
466 const id = taskId(task);
467 if (!id || !receivedTaskId) return;
468 const data = await this.taskModel("receiveTaskAward", {
469 channelCode,
470 taskId: id,
471 receiveTaskId: receivedTaskId,
472 });
473 if (okBusiness(data)) {
474 $.log(`账号[${this.index}] 领取任务发奖成功: ${taskTitle(task)} ${data.message || ""}`);
475 }
476 }
477
478 async doTask(channelCode, task, label) {
479 const id = taskId(task);

Callers 1

doTaskMethod · 0.95

Calls 5

taskModelMethod · 0.95
taskIdFunction · 0.85
okBusinessFunction · 0.85
taskTitleFunction · 0.85
logMethod · 0.45

Tested by

no test coverage detected