Commit c1738f78 authored by 黄奎's avatar 黄奎

页面修改

parent 01d1685a
......@@ -63,7 +63,7 @@ namespace Mall.Module.TradePavilion
{ nameof(RB_Custom_Form_Extend.UpdateBy),model.UpdateBy},
{ nameof(RB_Custom_Form_Extend.UpdateDate),model.UpdateDate},
};
custom_FormRepository.Update(fileds, new WhereHelper(nameof(RB_Custom_Form_Extend.Id), model.Id));
flag= custom_FormRepository.Update(fileds, new WhereHelper(nameof(RB_Custom_Form_Extend.Id), model.Id));
}
else
{
......@@ -111,6 +111,8 @@ namespace Mall.Module.TradePavilion
CompKey = jObj.GetStringValue("CompKey"),
CompData = new object()
};
if (!string.IsNullOrEmpty(dataItem.CompKey))
{
switch (dataItem.CompKey)
{
//单行文本
......@@ -174,6 +176,7 @@ namespace Mall.Module.TradePavilion
}
}
}
}
return dataList;
}
......
......@@ -106,7 +106,7 @@ namespace Mall.WebApi.Controllers.MallBase
model.UpdateDate = DateTime.Now;
model.Status = Common.Enum.DateStateEnum.Normal;
var flag = customFormModule.SetCustomFormModule(model);
return flag ? ApiResult.Success() : ApiResult.Failed();
return flag ? ApiResult.Success(data:model) : ApiResult.Failed();
}
/// <summary>
......
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