Commit d32714bd authored by 吴春's avatar 吴春
parents b8f6f4d8 0dafff19
......@@ -1471,6 +1471,9 @@ namespace Mall.WebApi.Controllers.MallBase
public ApiResult SetProductGoodsInfo() {
var parms = RequestParm;
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)) {
return ApiResult.ParamIsNull("请输入商品名称");
}
......@@ -1780,8 +1783,6 @@ namespace Mall.WebApi.Controllers.MallBase
demodel.IsMultipleDeduction ??= 2;
demodel.Status = 0;
demodel.TenantId = parms.TenantId;
demodel.MallBaseId = parms.MallBaseId;
demodel.CreateDate = DateTime.Now;
demodel.UpdateDate = DateTime.Now;
#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