mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 14:29:42 +08:00
首页图表可查看用户组下的在线数、网络吞吐量
This commit is contained in:
@@ -47,6 +47,16 @@ func GroupNames(w http.ResponseWriter, r *http.Request) {
|
||||
RespSucess(w, data)
|
||||
}
|
||||
|
||||
func GroupNamesIds(w http.ResponseWriter, r *http.Request) {
|
||||
var names = dbdata.GetGroupNamesIds()
|
||||
data := map[string]interface{}{
|
||||
"count": len(names),
|
||||
"page_size": 0,
|
||||
"datas": names,
|
||||
}
|
||||
RespSucess(w, data)
|
||||
}
|
||||
|
||||
func GroupDetail(w http.ResponseWriter, r *http.Request) {
|
||||
_ = r.ParseForm()
|
||||
idS := r.FormValue("id")
|
||||
|
Reference in New Issue
Block a user