From dda095e27b535d5748340f127c5f83c0d1324226 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期三, 29 十月 2025 17:30:58 +0800
Subject: [PATCH] 1

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index e5fa088..ea0b12c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -31,7 +31,7 @@
             return Service.UpdateTaskExceptionMessage(taskNum, message);
         }
 
-        [HttpPost, HttpGet, Route("UpdateTaskStatusToNext")]
+        [HttpPost, HttpGet, Route("UpdateTaskStatusToNext") ,AllowAnonymous]
         public WebResponseContent UpdateTaskStatusToNext(int taskNum)
         {
             return Service.UpdateTaskStatusToNext(taskNum);
@@ -50,7 +50,7 @@
         }
 
         [HttpPost, HttpGet, Route("SendAgvTask"),AllowAnonymous]
-        public Task<WebResponseContent> SendAgvTask(string modelProcessCode, int taskNum)
+        public WebResponseContent SendAgvTask(string modelProcessCode, int taskNum)
         {
             return Service.SendAgvTask(modelProcessCode, taskNum);
         }

--
Gitblit v1.9.3