首页图表可查看用户组下的在线数、网络吞吐量

This commit is contained in:
lanrenwo
2022-09-18 16:17:11 +08:00
parent 5586b27319
commit 48bebadc6b
7 changed files with 179 additions and 14 deletions

View File

@@ -63,4 +63,10 @@ func TestGetGroupNames(t *testing.T) {
for _, v := range gs {
ast.Equal(true, utils.InArrStr(gAll, v))
}
gni := GetGroupNamesIds()
for _, v := range gni {
ast.NotEqual(0, v.Id)
ast.Equal(true, utils.InArrStr(gAll, v.Name))
}
}