From a72845bbda8d04ed5b97e18ba47f7addfcd59771 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Oct 2023 00:46:20 +0800 Subject: [PATCH] Update alidns.go --- alidns/alidns.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/alidns/alidns.go b/alidns/alidns.go index 437b824..adb366c 100644 --- a/alidns/alidns.go +++ b/alidns/alidns.go @@ -34,24 +34,6 @@ func registerToAlidns(domain, subdomain, rid, ip string) error { } return nil - - /* - var sb = alidns.Record - - request := alidns.CreateUpdateDomainRecordRequest() - request.Scheme = "https" - request.RecordId = rid - request.RR = subDomain.RR - request.Type = subDomain.Type - request.Value = subDomain.Value - request.TTL = requests.NewInteger64(subDomain.TTL) - - _, err = client.UpdateDomainRecord(request) - if err != nil { - log.Print("UpdateDomainRecord:", err) - return err - } - */ } // DoAlidnsV4 ...