将全局的通用设置--域名审核设置移到“集群设置--网站设置”中

This commit is contained in:
刘祥超
2023-09-18 16:07:57 +08:00
parent ba9245e724
commit 0f35b45704
6 changed files with 40 additions and 73 deletions

View File

@@ -31,9 +31,6 @@ func (this *IndexAction) RunGet(params struct{}) {
valueJSON := valueJSONResp.ValueJSON
globalConfig := &serverconfigs.GlobalConfig{}
// 默认值
globalConfig.HTTPAll.DomainAuditingIsOn = false
if len(valueJSON) > 0 {
err = json.Unmarshal(valueJSON, globalConfig)
if err != nil {