From f73251f57d1b5697284519bfc076840712df2cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 29 Apr 2024 15:06:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=B9=B3=E5=8F=B0=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E8=AE=BE=E7=BD=AE=E4=B8=AD=E5=A2=9E=E5=8A=A0=E2=80=9C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84DNS=E8=A7=A3=E6=9E=90=E5=BA=93?= =?UTF-8?q?=E2=80=9D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/systemconfigs/admin_ui_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/systemconfigs/admin_ui_config.go b/pkg/systemconfigs/admin_ui_config.go index eb69d22..b4299d2 100644 --- a/pkg/systemconfigs/admin_ui_config.go +++ b/pkg/systemconfigs/admin_ui_config.go @@ -13,6 +13,9 @@ type AdminUIConfig struct { DefaultPageSize int `json:"defaultPageSize"` // 默认每页显示数 TimeZone string `json:"timeZone"` // 时区 Modules []string `json:"modules"` // 开通模块 + DNSResolver struct { + Type string `json:"type"` // 类型,参考 DNSResolverType* + } `json:"dnsResolver"` // DNS解析设置 } func (this *AdminUIConfig) ContainsModule(module string) bool {