Skip to content

Commit

Permalink
Update alidns.go
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Oct 14, 2023
1 parent 8f66e76 commit a72845b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions alidns/alidns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
Expand Down

0 comments on commit a72845b

Please sign in to comment.