mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:53:27 +08:00
【修复】修复商品新增可能sku图片未提交的问题。
This commit is contained in:
@@ -193,6 +193,7 @@ namespace CoreCms.Net.Repository
|
|||||||
obj.points = p.points;
|
obj.points = p.points;
|
||||||
obj.isDefalut = p.isDefalut;
|
obj.isDefalut = p.isDefalut;
|
||||||
obj.isDel = false;
|
obj.isDel = false;
|
||||||
|
obj.images=p.images;
|
||||||
products.Add(obj);
|
products.Add(obj);
|
||||||
|
|
||||||
var pd = new CoreCmsProductsDistribution();
|
var pd = new CoreCmsProductsDistribution();
|
||||||
@@ -242,6 +243,8 @@ namespace CoreCms.Net.Repository
|
|||||||
obj.points = oldObj.points;
|
obj.points = oldObj.points;
|
||||||
obj.isDefalut = true;
|
obj.isDefalut = true;
|
||||||
obj.isDel = false;
|
obj.isDel = false;
|
||||||
|
obj.images = oldObj.images;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(obj.images))
|
if (string.IsNullOrEmpty(obj.images))
|
||||||
{
|
{
|
||||||
obj.images = goods.image;
|
obj.images = goods.image;
|
||||||
|
|||||||
Reference in New Issue
Block a user