diff --git a/src/router/automatedmaintenrouter.go b/src/router/automatedmaintenrouter.go index 693e1c5b9f0b2b894f61220ef918f9165ce2558c..65d00d04d0b0238dce3cbe275871f7f3cf55fb6a 100644 --- a/src/router/automatedmaintenrouter.go +++ b/src/router/automatedmaintenrouter.go @@ -28,7 +28,7 @@ func InitAutomatedMaintenRouter(e *gin.Engine) { host.DELETE("/del", controller.DelHostManage) // 删除 host.GET("/details", controller.DetailsHostManage) // 详情 host.GET("/list", controller.ListHostManage) // 列表 - host.GET("/state", controller.StateHostManage) // 状态检测 + host.POST("/state", controller.StateHostManage) // 状态检测 host.GET("/ipExceptionList", controller.HostIpExceptionList) // 主机ip异常列表 } }