From 6f966a89a721c3a998e284d7f744d91d44a3d1c8 Mon Sep 17 00:00:00 2001 From: jianweie code Date: Tue, 7 Nov 2023 15:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=B8=8B=E5=8D=95=E9=A1=B5=E9=9D=A2=EF=BC=8C=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E4=BC=98=E6=83=A0=E5=88=B8=E6=98=AF=E5=90=A6=E5=8F=AF?= =?UTF-8?q?=E7=94=A8=E4=B8=AD=EF=BC=8C=E3=80=90=E8=AE=A2=E5=8D=95=E6=BB=A1?= =?UTF-8?q?XX=E9=87=91=E9=A2=9D=E6=BB=A1=E8=B6=B3=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E3=80=91=E8=AE=A1=E7=AE=97=E9=87=91=E9=A2=9D=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCms.Net.Services/Cart/CoreCmsCartServices.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreCms.Net.Services/Cart/CoreCmsCartServices.cs b/CoreCms.Net.Services/Cart/CoreCmsCartServices.cs index cfaadbf..51f3584 100644 --- a/CoreCms.Net.Services/Cart/CoreCmsCartServices.cs +++ b/CoreCms.Net.Services/Cart/CoreCmsCartServices.cs @@ -940,7 +940,7 @@ namespace CoreCms.Net.Services foreach (var product in cartProducts) { var money = product.products.price * product.nums; - goodsAmount += Math.Round(goodsAmount + money, 2); + goodsAmount = Math.Round(goodsAmount + money, 2); } if (goodsAmount >= objMoney) {