DNSPod改名为腾讯云DNSPod/DNSPod 支持腾讯云API密钥

This commit is contained in:
GoEdgeLab
2023-11-23 15:14:34 +08:00
parent aa6b79dc38
commit 7eef7f246e
7 changed files with 146 additions and 43 deletions

View File

@@ -7,4 +7,9 @@ Tea.context(function () {
that.typeDescription = v.description
}
})
// DNSPod
if (this.provider.type == "dnspod" && this.provider.params != null && (this.provider.params.apiType == null || this.provider.params.apiType.length == 0)) {
this.provider.params.apiType = "dnsPodToken"
}
})