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

This commit is contained in:
刘祥超
2020-12-19 15:53:57 +08:00
parent d6ad7f399d
commit dafdff9d9a
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)