From ad16e8351b0ece14ac2c1672dea69b08ef079e88 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期三, 15 一月 2025 18:19:03 +0800
Subject: [PATCH] 优化代码并更新配置文件

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs |   22 +++++++++++++++++-----
 1 files changed, 17 insertions(+), 5 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 e7c31d9..883a71b 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -173,9 +173,21 @@
     /// </summary>
     /// <param name="input">璇锋眰鏁版嵁</param>
     /// <returns></returns>
-    //[HttpPost, AllowAnonymous, Route("EmergencyTask")]
-    //public WebResponseContent EmergencyTask([FromBody] object input)
-    //{
-    //    //return Service.EmergencyTask(input);
-    //}
+    [HttpPost, AllowAnonymous, Route("EmergencyTask")]
+    public WebResponseContent EmergencyTask([FromBody] object input)
+    {
+        return Service.EmergencyTask(input);
+    }
+
+
+    /// <summary>
+    /// CW3 鍑哄簱鑷冲寘瑁�
+    /// </summary>
+    /// <param name="input">璇锋眰鏁版嵁</param>
+    /// <returns></returns>
+    [HttpPost, AllowAnonymous, Route("RequestOutTaskToBZAsync")]
+    public async Task<WebResponseContent> RequestOutTaskToBZAsync([FromBody] RequestTaskDto input)
+    {
+        return await Service.RequestOutTaskToBZAsync(input);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3