Commit e6ede079 authored by liudong1993's avatar liudong1993

商品副标题

parent de613f47
......@@ -430,5 +430,9 @@ namespace Mall.Model.Entity.Product
/// 广告词
/// </summary>
public string Advertising { get; set; }
/// <summary>
/// 副标题
/// </summary>
public string SubName { get; set; }
}
}
......@@ -3630,7 +3630,8 @@ namespace Mall.Module.Product
{ nameof(RB_Goods.Commission),demodel.Commission},
{ nameof(RB_Goods.PresentFXGrade),demodel.PresentFXGrade},
{ nameof(RB_Goods.PresentFXMonth),demodel.PresentFXMonth},
{ nameof(RB_Goods.Advertising),demodel.Advertising}
{ nameof(RB_Goods.Advertising),demodel.Advertising},
{ nameof(RB_Goods.SubName),demodel.SubName},
};
if (goodsModel.IsProcurement == 1)
{
......
......@@ -1533,7 +1533,9 @@ namespace Mall.WebApi.Controllers.MallBase
model.CarouselImageList,
model.ServiceList,
model.PresentFXGrade,
model.PresentFXMonth
model.PresentFXMonth,
model.Advertising,
model.SubName
});
}
......@@ -1988,6 +1990,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.PresentFXMonth ??= 0;
demodel.Advertising ??= "";//广告词
demodel.SubName ??= "";//副标题
if (demodel.IsProxy == 1 && demodel.CostPrice > 0)
{
decimal ProxyMoney = 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