From aefdecd0aa3226b7d00d1dc764241b82658b3be8 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 06 三月 2026 10:41:02 +0800
Subject: [PATCH] 添加机器人客户端;更新 WCS 缓存及任务

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
index cb2276f..30c6dd7 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -26,7 +26,7 @@
         /// <param name="stock"></param>
         /// <returns></returns>
         [HttpGet,HttpPost,Route("GroupPalletAsync"), AllowAnonymous]
-        public async Task<bool> GroupPallet([FromBody]StockDTO stock)
+        public async Task<WebResponseContent> GroupPallet([FromBody]StockDTO stock)
         {
             return await Service.GroupPalletAsync(stock);
         }
@@ -37,7 +37,7 @@
         /// <param name="stock"></param>
         /// <returns></returns>
         [HttpGet, HttpPost, Route("ChangePalletAsync"),AllowAnonymous]
-        public async Task<bool> ChangePalletAsync([FromBody] StockDTO stock)
+        public async Task<WebResponseContent> ChangePalletAsync([FromBody] StockDTO stock)
         {
             return await Service.ChangePalletAsync(stock);
         }
@@ -48,7 +48,7 @@
         /// <param name="stock"></param>
         /// <returns></returns>
         [HttpGet, HttpPost, Route("SplitPalletAsync"), AllowAnonymous]
-        public async Task<bool> SplitPalletAsync([FromBody] StockDTO stock)
+        public async Task<WebResponseContent> SplitPalletAsync([FromBody] StockDTO stock)
         {
             return await Service.SplitPalletAsync(stock);
         }

--
Gitblit v1.9.3