Commit de613f47 authored by liudong1993's avatar liudong1993

//商品广告词

parent 65c58a2c
......@@ -426,5 +426,9 @@ namespace Mall.Model.Entity.Product
/// 赠送的月份 几个月
/// </summary>
public int? PresentFXMonth { get; set; }
/// <summary>
/// 广告词
/// </summary>
public string Advertising { get; set; }
}
}
......@@ -299,7 +299,9 @@ namespace Mall.Model.Entity.Product
/// 退款单号
/// </summary>
public string RefundOrderNo { get; set; }
/// <summary>
/// 主播名称(多个以逗号分隔)
/// </summary>
public string AnchorName { get; set; }
}
}
......@@ -1800,6 +1800,7 @@ namespace Mall.Module.Product
//goods_warehouse_id = 0,//
status = model.GoodsStatus,
isAllowShare = IsAllowShare,//是否可以分享
advertising = model.Advertising,//广告词
price = model.SellingPrice,
use_attr = model.IsCustomSpecification,
attr_groups = model.SpecificationList.Select(x => new
......@@ -3629,6 +3630,7 @@ 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}
};
if (goodsModel.IsProcurement == 1)
{
......
......@@ -473,6 +473,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.Recycled ??= 2;
demodel.Refund ??= 0;
demodel.Status = 0;
demodel.AnchorName ??= "";
demodel.UpdateDate = DateTime.Now;
demodel.UserId = userInfo.UserId;
#endregion
......
......@@ -1986,6 +1986,8 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.PresentFXGrade ??= 0;//赠送粉象等级
demodel.PresentFXMonth ??= 0;
demodel.Advertising ??= "";//广告词
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