Commit 29e0f1b4 authored by 吴春's avatar 吴春
parents dce20310 71f15f2e
...@@ -260,7 +260,7 @@ namespace Mall.Module.TradePavilion ...@@ -260,7 +260,7 @@ namespace Mall.Module.TradePavilion
}; };
if (selectItem.IsMultiple) if (selectItem.IsMultiple)
{ {
List<string> valueList = JsonHelper.DeserializeObject<List<string>>(dropdownObj.GetStringValue("OptionValue")); List<int> valueList = Common.ConvertHelper.StringToList(dropdownObj.GetStringValue("OptionValue").Split(','));
if (valueList != null && valueList.Count > 0) if (valueList != null && valueList.Count > 0)
{ {
selectItem.OptionValue = string.Join(",", valueList); selectItem.OptionValue = string.Join(",", valueList);
......
...@@ -262,8 +262,8 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -262,8 +262,8 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
attr_group_name = smodel.Name, attr_group_name = smodel.Name,
attr_group_id = smodel.Sort, attr_group_id = smodel.Sort,
attr_id = svmodel.Id, attr_id = svmodel?.Id ?? 0,
attr_name = svmodel.Name attr_name = svmodel?.Name ?? ""
}); });
} }
decimal price_member = item.SellingPrice ?? 0;//未设会员价格的话 就为销售价格 decimal price_member = item.SellingPrice ?? 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