@@ -68,7 +68,7 @@ public class TaGoodsServiceImpl extends ServiceImpl<TaGoodsMapper, TaGoods> impl
return "积分不足,请先获取积分";
}
//判断商品是否够兑换
- if (taGoods.getTotalNum() < 1){
+ if (taGoods.getInventory() < 1){
return "此商品无库存";