using ZR.Admin.WebApi.Filters; using Microsoft.AspNetCore.Mvc; using ZR.Service.MES.andon.IService; using ZR.Model.Dto; namespace DOAN.WebApi.Controllers.MES.andon { /// /// 安灯交互 /// [Verify] [Route("mes/andonManagement/interaction")] public class AndonInteractionController : BaseController { private IAndonInteractionService _andonInteractionService; public AndonInteractionController(IAndonInteractionService andonInteractionService) { _andonInteractionService = andonInteractionService; } /// /// 呼叫请求 /// /// /// [HttpPost("Call")] public IActionResult CallHandle([FromBody] AndonAskQueryDto query) { if (query == null) { return SUCCESS(null); } var response = _andonInteractionService.CallHandle(query); return SUCCESS(response); } } }