Commit 8fb99e6f authored by 吴春's avatar 吴春

商品实体添加供应商id

parent bb6a8fca
...@@ -380,5 +380,13 @@ namespace Mall.Model.Entity.Product ...@@ -380,5 +380,13 @@ namespace Mall.Model.Entity.Product
/// 商品类型 /// 商品类型
/// </summary> /// </summary>
public OrderTypeEnum? GoodsType { get; set; } public OrderTypeEnum? GoodsType { get; set; }
/// <summary>
/// 供应商id
/// </summary>
public int SupplierId { get; set; }
} }
} }
This diff is collapsed.
...@@ -1383,7 +1383,8 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1383,7 +1383,8 @@ namespace Mall.WebApi.Controllers.MallBase
model.EnjoyMember, model.EnjoyMember,
model.SeparateSetMember, model.SeparateSetMember,
model.IsQuickBuy, model.IsQuickBuy,
CategoryList= model.CategoryList.Select(x=>new { model.SupplierId,
CategoryList = model.CategoryList.Select(x=>new {
x.Id, x.Id,
x.CategoryId, x.CategoryId,
x.CategoryName x.CategoryName
......
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