mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
【修复】修复商品新增可能sku图片未提交的问题。
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user