Commit 76a9976f authored by qinhaitao's avatar qinhaitao

fix: 🐛 参数bug

parent ae6075a1
...@@ -130,7 +130,7 @@ export default class AwardsController { ...@@ -130,7 +130,7 @@ export default class AwardsController {
let reduceResult: ICodeType | 1 = 1 let reduceResult: ICodeType | 1 = 1
// 不是积分奖品, 检查是否扣库存 // 不是积分奖品, 检查是否扣库存
if (prize.type !== PRIZE_TYPE.CREDITS) { if (prize.type !== PRIZE_TYPE.CREDITS && prize.type !== PRIZE_TYPE.THANKS) {
reduceResult = await awardSer.reduceStock(prize._id) reduceResult = await awardSer.reduceStock(prize._id)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment