Commit 5123e5b6 authored by 黄奎's avatar 黄奎

页面修改

parent 29e0f1b4
...@@ -2141,8 +2141,8 @@ namespace Mall.Module.Product ...@@ -2141,8 +2141,8 @@ namespace Mall.Module.Product
{ {
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;//未设会员价格的话 就为销售价格
...@@ -2352,7 +2352,6 @@ namespace Mall.Module.Product ...@@ -2352,7 +2352,6 @@ namespace Mall.Module.Product
} }
else else
{ {
if (model.IsCustomSpecification == 1 && model.SpecificationPriceList != null && model.SpecificationPriceList.Count > 0) if (model.IsCustomSpecification == 1 && model.SpecificationPriceList != null && model.SpecificationPriceList.Count > 0)
{ {
price_member_min = price_min = model.SpecificationPriceList.Where(x => x.SellingPrice > 0).Min(x => x.SellingPrice ?? 0); price_member_min = price_min = model.SpecificationPriceList.Where(x => x.SellingPrice > 0).Min(x => x.SellingPrice ?? 0);
......
...@@ -444,7 +444,6 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -444,7 +444,6 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.ParamIsNull(); return ApiResult.ParamIsNull();
} }
int UserId = req.UserId; int UserId = req.UserId;
var Robj = new object(); var Robj = new object();
try try
{ {
...@@ -452,7 +451,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -452,7 +451,7 @@ namespace Mall.WebApi.Controllers.MallBase
} }
catch (Exception ex) catch (Exception ex)
{ {
Common.Plugin.LogHelper.Write(ex, string.Format("GetAppletGoodsInfo:{0}",Common.Plugin.JsonHelper.Serialize(requestMsg))); Common.Plugin.LogHelper.Write(ex, string.Format("GetAppletGoodsInfo_GoodsId:{0}", GoodsId));
} }
return ApiResult.Success("", Robj); return ApiResult.Success("", Robj);
} }
......
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