using BBWY.Server.Business.SiNan; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace BBWY.Server.API.Controllers { public class GOIWarningController : BaseApiController { private GOIWarningBusiness gOIWarningBusiness; public GOIWarningController(IHttpContextAccessor httpContextAccessor, GOIWarningBusiness gOIWarningBusiness) : base(httpContextAccessor) { this.gOIWarningBusiness = gOIWarningBusiness; } /// /// GPO预警检测 /// [HttpGet] public void StartCheckGOI() { gOIWarningBusiness.StartCheckGOI(); } } }