using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_Tasks.ConveyorLineJob_GW;
|
|
namespace WIDESEAWCS_Server.Controllers.BZLOCK
|
{
|
[Route("api/[controller]")]
|
[ApiController]
|
public class JCBZYLController : ControllerBase
|
{
|
private readonly IGetStationService _getStationService;
|
public JCBZYLController(IGetStationService getStationService) { _getStationService = getStationService; }
|
|
[HttpPost, Route("GetStationHasPallet"), AllowAnonymous]
|
public WebResponseContent GetStationHasPallet([FromBody]List<string> stations)
|
{
|
return _getStationService.GetStationHasPallet(stations);
|
}
|
}
|
}
|