From dd6fdd9bcff3c2b3dcebdb0db3f80bc9dd469bc4 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 25 Dec 2025 10:00:15 +0800
Subject: [PATCH] 1. 添加滚动效果 2. 修复供应方无法开通权限
---
admin/app/api/controller/order/Cart.php | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/admin/app/api/controller/order/Cart.php b/admin/app/api/controller/order/Cart.php
index 9c650db..22ff76b 100644
--- a/admin/app/api/controller/order/Cart.php
+++ b/admin/app/api/controller/order/Cart.php
@@ -74,15 +74,6 @@
if ($product['is_newcomer'] == 1) {
return $this->renderError('新人专区商品不能加入购物车');
}
- if ($product['is_vip'] == 1) {
- return $this->renderError('vip专区商品不能加入购物车');
- }
- if ($product['is_vip'] == 1) {
- return $this->renderError('vip专区商品不能加入购物车');
- }
- 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() ?: '加入购物车失败');
}
--
Gitblit v1.9.2