2 changed files with 31 additions and 7 deletions
@ -0,0 +1,24 @@ |
|||
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; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// GPO预警检测
|
|||
/// </summary>
|
|||
[HttpGet] |
|||
public void StartCheckGOI() |
|||
{ |
|||
gOIWarningBusiness.StartCheckGOI(); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue