From eec4c84f34af5b1bf7da4774be13a6d8c27498b6 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期五, 13 三月 2026 12:31:43 +0800
Subject: [PATCH] feat: add memory region interface and base class

---
 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