From 4b43452bbdcae2dadc4543d0a4c836c2b89440fd Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期日, 20 七月 2025 22:33:58 +0800 Subject: [PATCH] 增强日志记录和简化代码实现 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs index a7ae9dc..0b914fb 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs @@ -185,7 +185,7 @@ /// <param name="input">璇锋眰鏁版嵁</param> /// <returns></returns> [HttpPost, AllowAnonymous, Route("RequestOutTaskToBZAsync")] - [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� + [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 11 })] // 5绉掕妭娴� public async Task<WebResponseContent> RequestOutTaskToBZAsync([FromBody] RequestTaskDto input) { return await Service.RequestOutTaskToBZAsync(input); @@ -261,4 +261,13 @@ { return Service.Getproductionstatistics(); } + /// <summary> + /// 鑾峰彇涓嶆槸绌洪棽浠ュ強鏈夎揣鐨勫叏閮ㄨ揣浣� + /// </summary> + /// <returns></returns> + [HttpPost, AllowAnonymous, Route("LocationStatusgetPageData")] + public WebResponseContent LocationStatus() + { + return Service.GetLocationStatus(); + } } \ No newline at end of file -- Gitblit v1.9.3