diff --git a/src/api/controllers/exam.controller.ts b/src/api/controllers/exam.controller.ts index 7cb2c41..67a5e02 100644 --- a/src/api/controllers/exam.controller.ts +++ b/src/api/controllers/exam.controller.ts @@ -192,10 +192,10 @@ class ExamController extends BaseController { let rewards = examData.getReward(statMap.score, 0) rewards = rewards.concat(examData.getReward(total, 1)) for (let reward of rewards) { - let geted = await UserReward.examRewardGot(history, accountid, reward.id) - if (geted) { - continue - } + // let geted = await UserReward.examRewardGot(history, accountid, reward.id) + // if (geted) { + // continue + // } const data = await UserReward.addOneRecord(history, accountid, reward.id, reward.coupon, reward.count) rewardList.push(data) }