From 3d5f0a69a810b5acdf1d60e294304d3dc854d590 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 28 Aug 2023 16:28:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E8=87=AA=E5=AE=9A=E4=B9=89HT?= =?UTF-8?q?TP=20DNS=E6=97=B6=E5=A2=9E=E5=8A=A0action=EF=BC=88=E5=80=BC?= =?UTF-8?q?=E4=B8=BAGetDomains=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dnsclients/provider_custom_http.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/dnsclients/provider_custom_http.go b/internal/dnsclients/provider_custom_http.go index aea2a688..854cc427 100644 --- a/internal/dnsclients/provider_custom_http.go +++ b/internal/dnsclients/provider_custom_http.go @@ -55,7 +55,9 @@ func (this *CustomHTTPProvider) Auth(params maps.Map) error { // GetDomains 获取所有域名列表 func (this *CustomHTTPProvider) GetDomains() (domains []string, err error) { - resp, err := this.post(maps.Map{}) + resp, err := this.post(maps.Map{ + "action": "GetDomains", + }) if err != nil { return nil, err }