From a15d996584733d60d0adddcd791f029d608c4fae Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期日, 03 十一月 2024 09:57:56 +0800
Subject: [PATCH] 2222

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 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 52abe4a..e8ceb08 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -23,9 +23,9 @@
     }
 
     /// <summary>
-    /// 鍑哄簱浠诲姟瀹屾垚
+    /// 浠诲姟瀹屾垚
     /// </summary>
-    /// <param name="saveModel">鍑哄簱鏁版嵁</param>
+    /// <param name="saveModel">浠诲姟鍙�</param>
     /// <returns>鎴愬姛鎴栧け璐�</returns>
     [HttpGet, Route("CompleteTaskAsync"), AllowAnonymous]
     public async Task<WebResponseContent> CompleteTaskAsync(int taskNum)
@@ -54,4 +54,15 @@
     {
         return await Service.RequestTaskAsync(input);
     }
+
+    /// <summary>
+    /// 绌烘墭鐩樿姹�
+    /// </summary>
+    /// <param name="input">璇锋眰鏁版嵁</param>
+    /// <returns></returns>
+    [HttpPost, AllowAnonymous, Route("RequestTrayTaskAsync")]
+    public async Task<WebResponseContent> RequestTrayTaskAsync([FromBody] string position)
+    {
+        return await Service.RequestTrayTaskAsync(position);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3