feat: configurable traffic threshold and Feishu bot alerts
This commit is contained in:
1 parent
3e6e481b79
commit
1273f226fd
16 files changed
+660
-20
No files matched your search
@@ -310,6 +310,10 @@ func (s *Server) RegisterRoutes(r *gin.Engine) {
|
||||
admin.Use(requireRole("admin"))
|
||||
// 主机环境体检与一键初始化(仅 admin)
|
||||
admin.GET("/system/env", s.systemEnv)
|
||||
admin.GET("/system/alerts", s.getAlertSettings)
|
||||
admin.PUT("/system/alerts", s.saveAlertSettings)
|
||||
admin.DELETE("/system/alerts", s.clearAlertSettings)
|
||||
admin.POST("/system/alerts/test", s.testAlertSettings)
|
||||
admin.POST("/system/fix", s.systemFix)
|
||||
admin.GET("/system/tls", s.tlsStatus)
|
||||
admin.GET("/system/identity", idp.Status)
|
||||
|
||||
Reference in new issue
Block a user