From 3de39066b5894850d0f0dc311b60cc09f599a025 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 26 二月 2026 14:30:06 +0800
Subject: [PATCH] 修复图片导入;重构路由和堆垛机命令

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 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 ee093bd..b5f60ef 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -52,5 +52,16 @@
         {
             return await Service.SplitPallet(stock);
         }
+
+        /// <summary>
+        /// 鏇存柊搴撳瓨淇℃伅锛堢粍鐩樸�佹崲鐩樸�佹媶鐩樺悗璋冪敤姝ゆ帴鍙f洿鏂板簱瀛樹俊鎭級
+        /// </summary>
+        /// <param name="stock"></param>
+        /// <returns></returns>
+        [HttpGet, HttpPost, Route("UpdateStockInfoAsync"), AllowAnonymous]
+        public async Task<bool> UpdateStockInfo([FromBody] StockInfoDTO stock)
+        {
+            return await Service.UpdateStockInfo(stock);
+        }
     }
 }

--
Gitblit v1.9.3