feat: 尝试支持设置阿里云 dns

This commit is contained in:
Mmx233
2022-12-08 18:25:18 +08:00
parent a4e9f35303
commit 8ef9b2fc9e
7 changed files with 278 additions and 8 deletions

19
dns/aliyun/models.go Normal file
View File

@@ -0,0 +1,19 @@
package aliyun
type Response struct {
Code string `json:"code"`
Message string `json:"message"`
}
type DomainStatus struct {
DomainName string `json:"DomainName"`
RecordId string `json:"RecordId"`
Value string `json:"Value"`
}
type DomainStatusRes struct {
TotalCount uint `json:"TotalCount"`
DomainRecords struct {
Record []DomainStatus `json:"Record"`
} `json:"DomainRecords"`
}