using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_IOutboundService; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers.Outbound { /// /// 出库线体缓存 /// [Route("api/OutLineView")] [ApiController] public class OutLineViewController : ApiBaseController { public OutLineViewController(IOutLineViewService service) : base(service) { } /// /// 获取线体原纸 /// /// [HttpPost, HttpGet, Route("GetOutLineView"), AllowAnonymous] public WebResponseContent GetOutLineView() { return Service.GetOutLineView(); } } }