mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-07 04:25:49 +08:00
IP名单增加未读数、按未读筛选等操作
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/iwind/TeaGo/maps"
|
||||
)
|
||||
|
||||
func FindAllMenuMaps(nodeLogsType string, countUnreadNodeLogs int64) []maps.Map {
|
||||
func FindAllMenuMaps(nodeLogsType string, countUnreadNodeLogs int64, countUnreadIPItems int64) []maps.Map {
|
||||
return []maps.Map{
|
||||
{
|
||||
"code": "dashboard",
|
||||
@@ -50,9 +50,10 @@ func FindAllMenuMaps(nodeLogsType string, countUnreadNodeLogs int64) []maps.Map
|
||||
"code": "waf",
|
||||
},
|
||||
{
|
||||
"name": "IP名单",
|
||||
"url": "/servers/iplists",
|
||||
"code": "iplist",
|
||||
"name": "IP名单",
|
||||
"url": "/servers/iplists",
|
||||
"code": "iplist",
|
||||
"badge": countUnreadIPItems,
|
||||
},
|
||||
{
|
||||
"name": "统计指标",
|
||||
|
||||
Reference in New Issue
Block a user