wanshenmean
2026-03-06 aefdecd0aa3226b7d00d1dc764241b82658b3be8
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -26,9 +26,9 @@
        /// <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.GroupPallet(stock);
            return await Service.GroupPalletAsync(stock);
        }
        /// <summary>
@@ -37,9 +37,9 @@
        /// <param name="stock"></param>
        /// <returns></returns>
        [HttpGet, HttpPost, Route("ChangePalletAsync"),AllowAnonymous]
        public async Task<bool> ChangePallet([FromBody] StockDTO stock)
        public async Task<WebResponseContent> ChangePalletAsync([FromBody] StockDTO stock)
        {
            return await Service.ChangePallet(stock);
            return await Service.ChangePalletAsync(stock);
        }
        /// <summary>
@@ -48,9 +48,9 @@
        /// <param name="stock"></param>
        /// <returns></returns>
        [HttpGet, HttpPost, Route("SplitPalletAsync"), AllowAnonymous]
        public async Task<bool> SplitPallet([FromBody] StockDTO stock)
        public async Task<WebResponseContent> SplitPalletAsync([FromBody] StockDTO stock)
        {
            return await Service.SplitPallet(stock);
            return await Service.SplitPalletAsync(stock);
        }
        /// <summary>
@@ -59,9 +59,9 @@
        /// <param name="stock"></param>
        /// <returns></returns>
        [HttpGet, HttpPost, Route("UpdateStockInfoAsync"), AllowAnonymous]
        public async Task<bool> UpdateStockInfo([FromBody] StockInfoDTO stock)
        public async Task<WebResponseContent> UpdateStockInfoAsync([FromBody] StockInfoDTO stock)
        {
            return await Service.UpdateStockInfo(stock);
            return await Service.UpdateStockInfoAsync(stock);
        }
    }
}