using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_Core.Const; using WIDESEA_Core.Helper; using WIDESEA_Core.HttpContextUser; using WIDESEA_ISystemService; using WIDESEA_Model; using WIDESEA_Model.Models; using WIDESEA_Model.Models.System; namespace WIDESEA_WMSServer.Controllers { [Route("api/Sys_Vehi")] [ApiController] public class Sys_VehiController : ApiBaseController { private readonly IHttpContextAccessor _httpContextAccessor; public Sys_VehiController(ISys_VehiService tenantService, IHttpContextAccessor httpContextAccessor) : base(tenantService) { _httpContextAccessor = httpContextAccessor; } [HttpGet, Route("GetCacheList"), AllowAnonymous] public WebResponseContent GetCacheList(string traycode_code,string barcode) { return Service.GetCacheList(traycode_code, barcode); } [HttpGet, Route("GetdataLis"), AllowAnonymous] public WebResponseContent GetdataLis(string vehiclerpall) { return Service.GetdataLis(vehiclerpall); } [HttpGet, Route("GetCachedata"), AllowAnonymous] public WebResponseContent GetCachedata(string traycode_code) { return Service.GetCachedata(traycode_code); } } }