diff --git a/internal/web/actions/default/dns/providers/index.go b/internal/web/actions/default/dns/providers/index.go index 95664a63..95956880 100644 --- a/internal/web/actions/default/dns/providers/index.go +++ b/internal/web/actions/default/dns/providers/index.go @@ -59,7 +59,7 @@ func (this *IndexAction) RunGet(params struct { } var providerMaps = []maps.Map{} for _, provider := range providersResp.DnsProviders { - dataUpdatedTime := "" + var dataUpdatedTime = "" if provider.DataUpdatedAt > 0 { dataUpdatedTime = timeutil.FormatTime("Y-m-d H:i:s", provider.DataUpdatedAt) } @@ -72,7 +72,7 @@ func (this *IndexAction) RunGet(params struct { this.ErrorPage(err) return } - countDomains := countDomainsResp.Count + var countDomains = countDomainsResp.Count providerMaps = append(providerMaps, maps.Map{ "id": provider.Id, diff --git a/web/public/js/components/server/http-request-limit-config-box.js b/web/public/js/components/server/http-request-limit-config-box.js index 9135d984..22797256 100644 --- a/web/public/js/components/server/http-request-limit-config-box.js +++ b/web/public/js/components/server/http-request-limit-config-box.js @@ -80,7 +80,7 @@ Vue.component("http-request-limit-config-box", {
单IP最大连接数,统计单个IP总连接数时不区分服务,超出此限制则响应用户
单IP最大连接数,统计单个IP总连接数时不区分服务,超出此限制则响应用户