using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_DTO.SquareCabin; using WIDESEA_ISquareCabinServices; using WIDESEA_Model.Models; using static WIDESEA_DTO.SquareCabin.TowcsDto; namespace WIDESEA_WMSServer.Controllers { [Route("api/Inventory")] [ApiController] public class InventoryController : ApiBaseController { public InventoryController(IInventoryServices service) : base(service) { } [HttpPost,Route("OrderFeedback"),AllowAnonymous] public ApiResponse OrderFeedback([FromBody]EdiOrderCallbackRequest request) { return Service.OrderFeedback(request); } [HttpPost,Route("GetInventoryList"),AllowAnonymous] public WebResponseContent GetInventoryList(string goods_no, string batch_num) { return Service.GetInventoryList(goods_no, batch_num); } } }