From 91ce12227476cf87aa5672a741d9ca6eb6bf508c Mon Sep 17 00:00:00 2001
From: libo <Administrator@DESKTOP-1A6QMNS>
Date: 星期一, 31 三月 2025 10:06:31 +0800
Subject: [PATCH] 优化堆垛机任务完成时写入完成代码逻辑

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index f1a631b..f6d2d27 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -17,7 +17,7 @@
         {
         }
 
-        [HttpPost, Route("GenerateInboundTask")]
+        [HttpPost, Route("GenerateInboundTask"), AllowAnonymous]
         public WebResponseContent GenerateInboundTask(string stationCode, int inboundType, string palletCode)
         {
             return Service.GenerateInboundTask(stationCode, inboundType, palletCode);
@@ -49,11 +49,11 @@
         {
             return Service.GenerateOutboundTask(keys);
         }
-        [HttpPost, Route("PalletOutboundTask")]
-        public WebResponseContent PalletOutboundTask(string roadwayNo, string endStation)
-        {
-            return Service.PalletOutboundTask(roadwayNo, endStation);
-        }
+        //[HttpPost, Route("PalletOutboundTask")]
+        //public WebResponseContent PalletOutboundTask(string roadwayNo, string endStation)
+        //{
+        //    return Service.PalletOutboundTask(roadwayNo, endStation);
+        //}
         [HttpPost, Route("GetTaskInfo")]
         public WebResponseContent GetTaskInfo()
         {

--
Gitblit v1.9.3