[网站服务]列表中增加审核筛选和标识

This commit is contained in:
GoEdgeLab
2020-12-19 15:53:57 +08:00
parent 0b8fd77f54
commit bce9c49f0f
5 changed files with 69 additions and 25 deletions

View File

@@ -23,6 +23,9 @@ func (this *ServerNamesPopupAction) RunGet(params struct {
this.ErrorPage(err)
return
}
if serverNamesResp.IsAuditing {
serverNamesResp.ServerNamesJSON = serverNamesResp.AuditingServerNamesJSON
}
serverNames := []*serverconfigs.ServerNameConfig{}
if len(serverNamesResp.ServerNamesJSON) > 0 {
err = json.Unmarshal(serverNamesResp.ServerNamesJSON, &serverNames)