增加DNS套餐相关API

This commit is contained in:
刘祥超
2022-09-13 10:50:26 +08:00
parent da02e6df4a
commit cf4b9a49ed
20 changed files with 7944 additions and 4304 deletions

View File

@@ -38,6 +38,9 @@ service NSRecordService {
// 计算记录数量
rpc countAllNSRecords (CountAllNSRecordsRequest) returns (RPCCountResponse);
// 查询相同记录名的记录数
rpc countAllNSRecordsWithName (CountAllNSRecordsWithNameRequest) returns (RPCCountResponse);
// 读取单页记录
rpc listNSRecords (ListNSRecordsRequest) returns (ListNSRecordsResponse);
@@ -167,6 +170,13 @@ message CountAllNSRecordsRequest {
string keyword = 4;
}
// 查询相同记录名的记录数
message CountAllNSRecordsWithNameRequest {
int64 nsDomainId = 1;
string name = 2;
string type = 3;
}
// 读取单页记录
message ListNSRecordsRequest {
int64 nsDomainId = 1;