From a6dfcbcd46726b4986065965e2bb386e2f2ce1e9 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 29 七月 2024 18:09:24 +0800 Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024 --- Tiger.Api/Controllers/WMS/WMSController.MqSNData.cs | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/Tiger.Api/Controllers/WMS/WMSController.MqSNData.cs b/Tiger.Api/Controllers/WMS/WMSController.MqSNData.cs index 315e61b..6f60058 100644 --- a/Tiger.Api/Controllers/WMS/WMSController.MqSNData.cs +++ b/Tiger.Api/Controllers/WMS/WMSController.MqSNData.cs @@ -29,6 +29,28 @@ } return Ok(response); } + + /// <summary> + /// 鏁村崟閫�鍥� + /// </summary> + /// <param name="action"></param> + /// <returns></returns> + [HttpPost] + [Route("api/[controller]/[action]")] + public async Task<IActionResult> ReturnWhole([FromBody] ApiAction action) + { + ApiAction response = new(); + try + { + response = response.GetResponse(await DI.Resolve<IMqSNData>().ReturnWhole(action.Data?.ToString())); + } + catch (System.Exception ex) + { + response = response.GetResponse().CatchExceptionWithLog(ex); + } + return Ok(response); + } + /// <summary> /// 鑾峰彇鍒嗛〉 /// </summary> -- Gitblit v1.9.3