wanshenmean
3 天以前 4b483d9d06bead231b88ca212fd799196668a057
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockController.cs
@@ -1,5 +1,4 @@
using 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);
        }
    }
}
}