From 1f338f3f149735523101d55f9c782836f30c1ff1 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期一, 02 十二月 2024 14:26:14 +0800
Subject: [PATCH] 12

---
 Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
index fc5ab5c..d2293fa 100644
--- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
+++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
@@ -25,6 +25,19 @@
             return Service.ReceiveWMSTask(taskDTOs);
         }
 
+        [HttpPost, Route("ReceiveByWMSTask"), AllowAnonymous]
+        public WebResponseContent ReceiveByWMSTask([FromBody] WMSTaskDTO taskDTOs)
+        {
+            return Service.ReceiveByWMSTask(taskDTOs);
+        }
+
+        [HttpPost, Route("ReceiveByWMSGWTask"), AllowAnonymous]
+        public WebResponseContent ReceiveByWMSGWTask([FromBody] WMSTaskDTO taskDTOs)
+        {
+            return Service.ReceiveByWMSGWTask(taskDTOs);
+        }
+
+
         [HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")]
         public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message)
         {

--
Gitblit v1.9.3