mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-26 15:25:17 +08:00
v1.4.1
This commit is contained in:
@@ -84,6 +84,10 @@ func (this *CreatePopupAction) RunPost(params struct {
|
||||
ParamEdgeDNSAPIAccessKeyId string
|
||||
ParamEdgeDNSAPIAccessKeySecret string
|
||||
|
||||
// DNS.LA
|
||||
ParamDNSLaAPIId string
|
||||
ParamDNSLaSecret string
|
||||
|
||||
MinTTL int32
|
||||
|
||||
Must *actions.Must
|
||||
@@ -171,6 +175,15 @@ func (this *CreatePopupAction) RunPost(params struct {
|
||||
Require("请输入私钥")
|
||||
apiParams["url"] = params.ParamCustomHTTPURL
|
||||
apiParams["secret"] = params.ParamCustomHTTPSecret
|
||||
case "dnsla":
|
||||
params.Must.
|
||||
Field("paramDNSLaAPIId", params.ParamDNSLaAPIId).
|
||||
Require("请输入API ID").
|
||||
Field("paramDNSLaSecret", params.ParamDNSLaSecret).
|
||||
Require("请输入API密钥")
|
||||
|
||||
apiParams["apiId"] = params.ParamDNSLaAPIId
|
||||
apiParams["secret"] = params.ParamDNSLaSecret
|
||||
default:
|
||||
this.Fail("暂时不支持此服务商'" + params.Type + "'")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user