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

This commit is contained in:
GoEdgeLab
2024-05-12 09:33:35 +08:00
parent 49a3027935
commit df83aa9e6a
5 changed files with 186 additions and 155 deletions

View File

@@ -10,4 +10,5 @@ message DNSProvider {
string typeName = 4;
bytes apiParamsJSON = 5;
int64 dataUpdatedAt = 6;
int32 minTTL = 7; // 最小TTL
}

View File

@@ -41,6 +41,7 @@ message CreateDNSProviderRequest {
string name = 1;
string type = 2;
bytes apiParamsJSON = 3;
int32 minTTL = 4; // 最小TTL
}
message CreateDNSProviderResponse {
@@ -52,6 +53,7 @@ message UpdateDNSProviderRequest {
int64 dnsProviderId = 1;
string name = 2;
bytes apiParamsJSON = 3;
int32 minTTL = 4; // 最小TTL
}
// 计算服务商数量