From 5b34a1458e74f8902d01ebd844c2954f554c9e74 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期四, 30 四月 2026 11:05:37 +0800
Subject: [PATCH] 1
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs | 9 ++++-----
1 files changed, 4 insertions(+), 5 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 d6d062c..52d41df 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -1,5 +1,4 @@
锘縰sing Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
@@ -25,8 +24,8 @@
/// </summary>
/// <param name="stock"></param>
/// <returns></returns>
- [HttpGet,HttpPost,Route("GroupPalletAsync"), AllowAnonymous]
- public async Task<WebResponseContent> GroupPallet([FromBody]StockDTO stock)
+ [HttpGet, HttpPost, Route("GroupPalletAsync"), AllowAnonymous]
+ public async Task<WebResponseContent> GroupPallet([FromBody] StockDTO stock)
{
return await Service.GroupPalletAsync(stock);
}
@@ -36,7 +35,7 @@
/// </summary>
/// <param name="stock"></param>
/// <returns></returns>
- [HttpGet, HttpPost, Route("ChangePalletAsync"),AllowAnonymous]
+ [HttpGet, HttpPost, Route("ChangePalletAsync"), AllowAnonymous]
public async Task<WebResponseContent> ChangePalletAsync([FromBody] StockDTO stock)
{
return await Service.ChangePalletAsync(stock);
@@ -97,4 +96,4 @@
return await Service.GetStockDetailCountByPalletCodeAsync(palletCode);
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3