From 4b21b877847a4e9abe07091b7f8381f7a7c44e98 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期五, 14 六月 2024 09:24:25 +0800
Subject: [PATCH] no message

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

diff --git a/CoreCms.Net.Web.WebApi/Controllers/CartController.cs b/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
index 55e819f..ebca83a 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/CartController.cs
@@ -56,7 +56,7 @@
         [Authorize]
         public async Task<WebApiCallBack> AddCart([FromBody] FMCartAdd entity)
         {
-            var jm = await _cartServices.Add(_user.ID, entity.ProductId, entity.Nums, entity.type, entity.cartType, entity.objectId);
+            var jm = await _cartServices.Add(_user.ID, entity.ProductId, entity.Nums, entity.type, entity.cartType, entity.objectId,entity.isCustomizable);
             return jm;
         }
 
@@ -73,9 +73,8 @@
         public async Task<WebApiCallBack> GetList([FromBody] FMCartGetList entity)
         {
             var ids = CommonHelper.StringToIntArray(entity.ids);
-
             //鑾峰彇鏁版嵁
-            var jm = await _cartServices.GetCartInfos(_user.ID, ids, entity.type, entity.areaId, entity.point, entity.couponCode, entity.receiptType, entity.userShipId, entity.objectId);
+            var jm = await _cartServices.GetCartInfos(_user.ID, ids, entity.type, entity.areaId, entity.point, entity.couponCode, entity.receiptType, entity.userShipId, entity.objectId, entity.goodsId);
 
             return jm;
         }

--
Gitblit v1.9.1