From 0dbd8883d110d90f8955d5d52717bdb816c26c67 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <1247017146@qq.com> Date: 星期四, 15 五月 2025 10:57:37 +0800 Subject: [PATCH] 1 --- Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 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 ca9f656..ef8ccf0 100644 --- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs +++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs @@ -28,7 +28,7 @@ /// <param name="saveModel">浠诲姟鍙�</param> /// <returns>鎴愬姛鎴栧け璐�</returns> [HttpGet, Route("CompleteTaskAsync"), AllowAnonymous] - [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� + //[TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� public async Task<WebResponseContent> CompleteTaskAsync(int taskNum) { return await _taskService.CompleteAsync(taskNum); @@ -162,7 +162,7 @@ /// <param name="input">璇锋眰鏁版嵁</param> /// <returns></returns> [HttpPost, AllowAnonymous, Route("GetFROutTrayToCW")] - [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� + [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 15 })] // 5绉掕妭娴� public async Task<WebResponseContent> GetFROutTrayToCW([FromBody] RequestTaskDto input) { return await Service.GetFROutTrayToCW(input); @@ -174,7 +174,6 @@ /// <param name="input">璇锋眰鏁版嵁</param> /// <returns></returns> [HttpPost, AllowAnonymous, Route("EmergencyTask")] - [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5绉掕妭娴� public WebResponseContent EmergencyTask([FromBody] object input) { return Service.EmergencyTask(input); -- Gitblit v1.9.3