From 88d52606d0db8fb0343ebcd2d53c8df62fd05f2a Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期六, 28 十二月 2024 23:39:46 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
index 6381648..6809ade 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
@@ -11,6 +11,7 @@
using WIDESEA_TaskInfoService;
using WIDESEA_DTO.ERP;
using WIDESEA_DTO.MES;
+using WIDESEA_Core.Helper;
namespace WIDESEA_WMSServer.Controllers.MES
{
@@ -49,20 +50,30 @@
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
- [HttpPost, Route("TestReturnStock"), AllowAnonymous, MethodParamsValidate]
- public MesResponseContent TestReturnStock([FromBody] Root<TestToolBackModel> model)
+ [HttpPost, Route("TestToolBack"), AllowAnonymous, MethodParamsValidate]
+ public MesResponseContent TestToolBack([FromBody] Root<TestToolBackModel> model)
{
- return _taskService.TestReturnStock(model.Content);
+ return _taskService.TestToolBack(model.Content);
}
/// <summary>
/// 娴嬭瘯鏋舵姤搴�
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
- [HttpPost, Route("TestScrap"), AllowAnonymous, MethodParamsValidate]
+ [HttpPost, Route("TestToolScrap"), AllowAnonymous, MethodParamsValidate]
public MesResponseContent TestScrap([FromBody] Root<TestToolScrap> model)
{
return _taskService.TestScrap(model.Content);
}
+ [HttpPost, Route("TestSynStock"), AllowAnonymous]
+ public WebResponseContent TestSynStock([FromBody]TestToolSynInfo toolSynInfo)
+ {
+ return _taskService.TestSynStock(toolSynInfo);
+ }
+ [HttpPost, Route("testHttp"), AllowAnonymous, MethodParamsValidate]
+ public string TestScrap(string str)
+ {
+ return HttpMesHelper.GetStr(str);
+ }
}
}
--
Gitblit v1.9.3