From f43970a061d3c90520b4e8f48caa17a204d9a085 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 15 八月 2024 10:19:38 +0800
Subject: [PATCH] 完供应商自主维护商品api和后台基础管理页面

---
 CoreCms.Net.Web.WebApi/Controllers/CartController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CoreCms.Net.Web.WebApi/Controllers/CartController.cs b/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
index 450ff96..41a3bb0 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
@@ -60,7 +60,7 @@
         public async Task<WebApiCallBack> AddCart([FromBody] FMCartAdd entity)
         {
             
-            if ((await _bfbfComAPIService.IsDictionary(_user.ID)) && (entity.cartType != 1||entity.cartType!=4))//1鏄櫘閫氬崟锛�4 鏄鏉�
+            if ((await _bfbfComAPIService.IsDictionary(_user.ID)) && ((entity.cartType != 1)&&(entity.cartType!=4)))//1鏄櫘閫氬崟锛�4 鏄鏉�
             {
                 //缁忛攢鍟嗚繘鍒跺彂璧峰洟璐�
                 return new WebApiCallBack

--
Gitblit v1.9.1