实现WAF统计

This commit is contained in:
刘祥超
2021-01-26 18:41:23 +08:00
parent f7336235a1
commit 2f21effdbf
9 changed files with 391 additions and 0 deletions

View File

@@ -171,6 +171,11 @@ func (this *ServerHelper) createStatMenu(secondMenuItem string, serverIdString s
"url": "/servers/server/stat/clients?serverId=" + serverIdString,
"isActive": secondMenuItem == "client",
})
menuItems = append(menuItems, maps.Map{
"name": "WAF",
"url": "/servers/server/stat/waf?serverId=" + serverIdString,
"isActive": secondMenuItem == "waf",
})
return menuItems
}