using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_DTO.MES; using WIDESEA_IBasicService; using WIDESEA_Model.Models.Outbound; using WIDESEAWCS_ITaskInfoService; using WIDESEAWCS_Model.Models.TaskInfo; namespace WIDESEA_WMSServer.Controllers.Basic { [Route("api/OutboundOrder")] [ApiController] public class OutboundOrderController : ApiBaseController { public OutboundOrderController(IOutboundOrderService service) : base(service) { } //MES下发出库订单 [HttpPost, HttpGet, Route("addOutboundOrder"), AllowAnonymous] public Messages addOutboundOrder([FromBody] OutBound OutBound) { return Service.addOutboundOrder(OutBound); } } }