DNS服务商账号增加“最小TTL”选项

This commit is contained in:
GoEdgeLab
2024-05-12 09:33:30 +08:00
parent d6fdd9cd16
commit aa7b5c120c
6 changed files with 62 additions and 13 deletions

View File

@@ -84,6 +84,8 @@ func (this *CreatePopupAction) RunPost(params struct {
ParamEdgeDNSAPIAccessKeyId string
ParamEdgeDNSAPIAccessKeySecret string
MinTTL int32
Must *actions.Must
CSRF *actionutils.CSRF
}) {
@@ -177,6 +179,7 @@ func (this *CreatePopupAction) RunPost(params struct {
Name: params.Name,
Type: params.Type,
ApiParamsJSON: apiParams.AsJSON(),
MinTTL: params.MinTTL,
})
if err != nil {
this.ErrorPage(err)