From c827fe7b0c5b3b444d76ba0d96a2649c764630dd Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 14 十一月 2024 16:36:08 +0800
Subject: [PATCH] 修改WCS、WMS出入库逻辑

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
index e671b1a..d27009d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
@@ -4,8 +4,12 @@
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
 using WIDESEAWCS_DTO.AGVInfo;
+using WIDESEAWCS_DTO.TaskInfo;
+using WIDESEAWCS_ITaskInfoService;
+using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob;
 using WIDESEAWCS_QuartzJob.DeviceBase;
+using WIDESEAWCS_Tasks;
 using WIDESEAWCS_Tasks.ConveyorLineJob.ConveyorLineExtend;
 
 namespace WIDESEAWCS_Server.Controllers
@@ -14,7 +18,7 @@
     /// AGV鎺ュ彛
     /// </summary>
     [Route("api/AGV")]
-    [ApiController]
+    [ApiController, AllowAnonymous]
     public class AGVController : Controller
     {
         /// <summary>
@@ -22,7 +26,7 @@
         /// </summary>
         /// <param name="saveModel">璇锋眰鍙傛暟</param>
         /// <returns></returns>
-        [HttpPost, Route("AGVRequestin"), AllowAnonymous]
+        [HttpPost, Route("AGVRequestin")]
         public WebResponseContent AGVRequestin([FromBody] ConveyorLineDTO saveModel)
         {
             return AGVsignal.AGVRequestin(saveModel);

--
Gitblit v1.9.3