正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
@@ -197,7 +197,6 @@ class Cart extends Api | @@ -197,7 +197,6 @@ class Cart extends Api | ||
197 | // 检查库存 | 197 | // 检查库存 |
198 | $goods = Goods::get($cart['goods_id'],['spec_rel.spec']); | 198 | $goods = Goods::get($cart['goods_id'],['spec_rel.spec']); |
199 | $goods_sku = $goods->getGoodsSku($cart['spec_sku_id']); | 199 | $goods_sku = $goods->getGoodsSku($cart['spec_sku_id']); |
200 | - halt($goods_sku); | ||
201 | if($goods['ismake'] == '0' && $goods_sku['stock_num'] < $goods_num){ | 200 | if($goods['ismake'] == '0' && $goods_sku['stock_num'] < $goods_num){ |
202 | $this->error(__('商品库存不足'.$goods_num.'件')); | 201 | $this->error(__('商品库存不足'.$goods_num.'件')); |
203 | } | 202 | } |
-
请 注册 或 登录 后发表评论