admin/app/api/controller/order/Cart.php
@@ -74,9 +74,6 @@ if ($product['is_newcomer'] == 1) { return $this->renderError('新人专区商品不能加入购物车'); } if ($product['is_repurchase'] == 1) { return $this->renderError('复购专区商品不能加入购物车'); } if (!$model->add($this->user, $product_id, $product_num, $spec_sku_id)) { return $this->renderError($model->getError() ?: '加入购物车失败'); }