using WIDESEA_IStorageBasicServices.Stock; using WIDESEA_Model.Models.ERP; namespace WIDESEA_WMSServer.Controllers.ERP { [Route("api/InboundOrderERP")] [Authorize, ApiController] public class ERPInboundOrderController : Controller { private readonly IERPInboundOrderService service; public ERPInboundOrderController( IERPInboundOrderService _service) { service = _service; } [HttpPost, Route("GetPageData"),AllowAnonymous] public PageGridData GetPageData([FromBody] PageDataOptions options) { return service.GetPageData(options); } [HttpPost, Route("Print"), AllowAnonymous] public WebResponseContent Print([FromBody] List wMSs) { return service.Print(wMSs); } } }