Commit 0dafff19 authored by liudong1993's avatar liudong1993

1

parent ad80e5a4
...@@ -1471,6 +1471,9 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1471,6 +1471,9 @@ namespace Mall.WebApi.Controllers.MallBase
public ApiResult SetProductGoodsInfo() { public ApiResult SetProductGoodsInfo() {
var parms = RequestParm; var parms = RequestParm;
RB_Goods_Extend demodel = JsonConvert.DeserializeObject<RB_Goods_Extend>(parms.msg.ToString()); RB_Goods_Extend demodel = JsonConvert.DeserializeObject<RB_Goods_Extend>(parms.msg.ToString());
demodel.TenantId = parms.TenantId;
demodel.MallBaseId = parms.MallBaseId;
if (string.IsNullOrEmpty(demodel.Name)) { if (string.IsNullOrEmpty(demodel.Name)) {
return ApiResult.ParamIsNull("请输入商品名称"); return ApiResult.ParamIsNull("请输入商品名称");
} }
...@@ -1780,8 +1783,6 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1780,8 +1783,6 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.IsMultipleDeduction ??= 2; demodel.IsMultipleDeduction ??= 2;
demodel.Status = 0; demodel.Status = 0;
demodel.TenantId = parms.TenantId;
demodel.MallBaseId = parms.MallBaseId;
demodel.CreateDate = DateTime.Now; demodel.CreateDate = DateTime.Now;
demodel.UpdateDate = DateTime.Now; demodel.UpdateDate = DateTime.Now;
#endregion #endregion
......
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