From 715cf4c8b9e097aae6c4bcaf00bdd67a763529c4 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 13:58:09 +0800
Subject: [PATCH] feat(stockChat): 集成 SignalR 实现实时库存更新
---
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