(channelCode, task, receivedTaskId)
| 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); |