[admin] Can retrieves tries rate
This commit is contained in:
parent
29b8244796
commit
5e74b3f7ce
2 changed files with 60 additions and 0 deletions
|
@ -85,6 +85,8 @@ func listTeam(args []string, body []byte) (interface{}, error) {
|
|||
return fic.MyJSONTeam(team, true)
|
||||
} else if args[1] == "wait.json" {
|
||||
return fic.MyJSONTeam(team, false)
|
||||
} else if args[1] == "tries" {
|
||||
return fic.GetTries(team, nil)
|
||||
} else if team != nil && args[1] == "members" {
|
||||
return team.GetMembers()
|
||||
} else if args[1] == "certificate" && team != nil {
|
||||
|
@ -95,6 +97,8 @@ func listTeam(args []string, body []byte) (interface{}, error) {
|
|||
} else if len(args) == 1 {
|
||||
if args[0] == "teams.json" {
|
||||
return fic.ExportTeams()
|
||||
} else if args[0] == "tries" {
|
||||
return fic.GetTries(nil, nil)
|
||||
} else if args[0] == "nginx" {
|
||||
return nginxGenTeam()
|
||||
} else if args[0] == "binding" {
|
||||
|
|
Reference in a new issue