using AutoMapper.Configuration.Annotations; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using WIDESEA_Common; using WIDESEA_Core.BaseController; using WIDESEA_DTO; using WIDESEA_IStoragIntegrationServices; namespace WIDESEA_WMSServer.Controllers; [Route("api/[controller]")] [ApiController] public class ToZYController : Controller { private readonly IToZYService _ZYService; private readonly IHttpContextAccessor _httpContextAccessor; public ToZYController(IToZYService ZYService, IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; _ZYService = ZYService; } /// /// 获取车轮信息 /// /// /// [HttpPost, Route("ZY_GetCLInfo"), AllowAnonymous] public object RequsetCellInfo([FromBody] SaveModel input) { return _ZYService.ZY_GetCLInfo(input); } /// /// 获取制动盘信息 /// /// /// [HttpPost, Route("getZDPInfo"), AllowAnonymous] public object getZDPInfo([FromBody] SaveModel input) { return _ZYService.getZDPInfo(input); } /// /// 获取制动盘信息 /// /// /// [HttpPost, Route("getCZInfo"), AllowAnonymous] public object getCZInfo([FromBody] SaveModel input) { return _ZYService.getCZInfo(input); } }