Commit 9a50cc3c authored by 吴春's avatar 吴春
parents 4849b387 c8875901
...@@ -440,5 +440,9 @@ namespace Mall.Model.Entity.Product ...@@ -440,5 +440,9 @@ namespace Mall.Model.Entity.Product
/// 营销标识(文字+文字颜色+文字背景/ 图标) /// 营销标识(文字+文字颜色+文字背景/ 图标)
/// </summary> /// </summary>
public string MarketingLogo { get; set; } public string MarketingLogo { get; set; }
/// <summary>
/// 是否是直播商品 1是 2否
/// </summary>
public int? IsLiveGoods { get; set; }
} }
} }
...@@ -238,5 +238,13 @@ namespace Mall.Model.Entity.Product ...@@ -238,5 +238,13 @@ namespace Mall.Model.Entity.Product
/// 微店成本价格 /// 微店成本价格
/// </summary> /// </summary>
public decimal? SmallShopsCostPrice { get; set; } public decimal? SmallShopsCostPrice { get; set; }
/// <summary>
/// 主播佣金
/// </summary>
public decimal? LiveCommission { get; set; }
/// <summary>
/// 主播佣金生成的财务单据 逗号分隔
/// </summary>
public string LiveFinanceIds { get; set; }
} }
} }
...@@ -4272,6 +4272,7 @@ namespace Mall.Module.Product ...@@ -4272,6 +4272,7 @@ namespace Mall.Module.Product
{ nameof(RB_Goods.Advertising),demodel.Advertising}, { nameof(RB_Goods.Advertising),demodel.Advertising},
{ nameof(RB_Goods.SubName),demodel.SubName}, { nameof(RB_Goods.SubName),demodel.SubName},
{ nameof(RB_Goods.MarketingLogo),demodel.MarketingLogo}, { nameof(RB_Goods.MarketingLogo),demodel.MarketingLogo},
{ nameof(RB_Goods.IsLiveGoods),demodel.IsLiveGoods},
}; };
if (goodsModel.IsProcurement == 1) if (goodsModel.IsProcurement == 1)
{ {
......
...@@ -1474,6 +1474,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1474,6 +1474,7 @@ namespace Mall.WebApi.Controllers.MallBase
model.ProxyMoney, model.ProxyMoney,
model.IsProcurement, model.IsProcurement,
model.Commission, model.Commission,
model.IsLiveGoods,
CategoryList = model.CategoryList.Select(x => new CategoryList = model.CategoryList.Select(x => new
{ {
x.Id, x.Id,
...@@ -2016,6 +2017,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -2016,6 +2017,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.Advertising ??= "";//广告词 demodel.Advertising ??= "";//广告词
demodel.SubName ??= "";//副标题 demodel.SubName ??= "";//副标题
demodel.IsLiveGoods ??= 2;//是否直播商品 1是 2否
if (demodel.IsProxy == 1 && demodel.CostPrice > 0) if (demodel.IsProxy == 1 && demodel.CostPrice > 0)
{ {
decimal ProxyMoney = 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