Commit 49c9da55 by weitianhua

sku图片转义问题处理

parent 36ac31d1
...@@ -440,6 +440,14 @@ namespace API.Services.ProductManageServices ...@@ -440,6 +440,14 @@ namespace API.Services.ProductManageServices
{ {
item.s_product_size = string.IsNullOrWhiteSpace(item.s_product_size) ? "0,0,0" : item.s_product_size; item.s_product_size = string.IsNullOrWhiteSpace(item.s_product_size) ? "0,0,0" : item.s_product_size;
item.s_packing_size = string.IsNullOrWhiteSpace(item.s_packing_size) ? "0,0,0" : item.s_packing_size; item.s_packing_size = string.IsNullOrWhiteSpace(item.s_packing_size) ? "0,0,0" : item.s_packing_size;
if (!string.IsNullOrEmpty(item.s_main_image))
{
item.s_main_image = item.s_main_image.Replace("%3F", "?");
}
if (!string.IsNullOrEmpty(item.s_child_image))
{
item.s_child_image = item.s_child_image.Replace("%3F", "?");
}
item.s_updatetime = DateTime.Now; item.s_updatetime = DateTime.Now;
if (item.s_id > 0) if (item.s_id > 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment