记得上下班打卡 | git大法好,push需谨慎

Commit 695ac0a1 authored by 胡佳晨's avatar 胡佳晨

修改 志愿者 未满十八岁的提示

修改 库存接口
parent ad643e86
...@@ -104,8 +104,9 @@ public class GoblinPosController { ...@@ -104,8 +104,9 @@ public class GoblinPosController {
String pre = GoblinStatusConst.MarketPreStatus.getPre(spuId); String pre = GoblinStatusConst.MarketPreStatus.getPre(spuId);
int stock = goblinRedisUtils.getSkuStock(pre, skuId); int stock = goblinRedisUtils.getSkuStock(pre, skuId);
posGoodsVo.setRestStock(stock); posGoodsVo.setRestStock(stock);
if (stock > 0) {
posGoodsVoList.add(posGoodsVo); posGoodsVoList.add(posGoodsVo);
}
} }
} }
} }
......
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