Commit 666970f1 authored by qinhaitao's avatar qinhaitao

fix: 🐛 扣库存bug

parent 8a58fc7d
...@@ -135,7 +135,7 @@ export default class AwardsController { ...@@ -135,7 +135,7 @@ export default class AwardsController {
} }
// 扣库存失败 // 扣库存失败
if ((reduceResult as ICodeType)?.code) return resultsModel.error(reduceResult as ICodeType) if ((reduceResult as ICodeType)?.code || !reduceResult) return resultsModel.error(reduceResult as ICodeType)
const { type, _id, ename, image, name } = prize const { type, _id, ename, image, name } = prize
......
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