using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_IRecordService; using WIDESEA_Model.Models; namespace WIDESEA_WMSServer.Controllers.Record { [Route("api/LocationStatusChangeRecord")] [ApiController] public class LocationStatusChangeRecordController : ApiBaseController { public LocationStatusChangeRecordController(ILocationStatusChangeRecordSetvice service) : base(service) { } [HttpPost, HttpGet,Route("GetLocationState")] public WebResponseContent GetLocationState(int id) { return Service.GetLocationState(id); } } }