暂时屏蔽挑战中奖品的重复获取检测
This commit is contained in:
parent
0401906403
commit
20fcd3d163
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user