From cd6e7080262a3338733c8a54958bba045159db0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AD=90=E9=BE=99?= Date: Thu, 29 Jun 2023 16:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E8=BF=90=E7=BB=B4?= =?UTF-8?q?=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/automatedmaintenrouter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/automatedmaintenrouter.go b/src/router/automatedmaintenrouter.go index 693e1c5..65d00d0 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异常列表 } } -- 2.26.0