using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Net; using WIDESEA_Core; using WIDESEA_DTO.WCSInfo; using WIDESEA_ITaskInfoService; using WIDESEAWCS_DTO.WCSInfo; namespace WIDESEA_WMSServer.Controllers { [Route("api/ProductionLine")] [AllowAnonymous, ApiController] public class ProductionLineController : Controller { private readonly ITaskService _taskService; public ProductionLineController(ITaskService taskService) { _taskService = taskService; } /// /// 产线申请入库 /// /// /// [HttpPost, Route("ProductionlineRequest")] public WebResponseContent ProductionlineRequest([FromBody] ProductionlineDTO lineDTO) { return _taskService.ProductionlineRequest(lineDTO); } } }