From f280c3b49017a9b2cfbf76e75ac9c9a146865f2f Mon Sep 17 00:00:00 2001 From: jianweie code Date: Fri, 15 Dec 2023 11:10:44 +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=E5=95=86=E5=93=81=E6=96=B0=E5=A2=9E=E5=8F=AF=E8=83=BD?= =?UTF-8?q?sku=E5=9B=BE=E7=89=87=E6=9C=AA=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?=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.Repository/Good/CoreCmsGoodsRepository.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs b/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs index dac0c29f..234d764f 100644 --- a/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs +++ b/CoreCms.Net.Repository/Good/CoreCmsGoodsRepository.cs @@ -193,6 +193,7 @@ namespace CoreCms.Net.Repository obj.points = p.points; obj.isDefalut = p.isDefalut; obj.isDel = false; + obj.images=p.images; products.Add(obj); var pd = new CoreCmsProductsDistribution(); @@ -242,6 +243,8 @@ namespace CoreCms.Net.Repository obj.points = oldObj.points; obj.isDefalut = true; obj.isDel = false; + obj.images = oldObj.images; + if (string.IsNullOrEmpty(obj.images)) { obj.images = goods.image;