563565
This commit is contained in:
@@ -10,6 +10,7 @@ using ZR.Model.mes.md;
|
||||
using ZR.Model.mes.md.DTO;
|
||||
using ZR.Service.mes.md;
|
||||
using ZR.Service.mes.md.IService;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.mes.md
|
||||
{
|
||||
@@ -79,6 +80,10 @@ namespace ZR.Admin.WebApi.Controllers.mes.md
|
||||
[HttpPost("addProductDefine")]
|
||||
public IActionResult addProductDefine([FromBody] MdProductDefine products)
|
||||
{
|
||||
if (products == null)
|
||||
{
|
||||
return ToResponse(new ApiResult((int)ResultCode.NO_DATA, "null"));
|
||||
}
|
||||
if (products != null)
|
||||
{
|
||||
products.ToCreate(HttpContext);
|
||||
|
||||
Reference in New Issue
Block a user