增加DNS域名管理

This commit is contained in:
刘祥超
2020-11-12 14:41:28 +08:00
parent e1aa11cdb7
commit fe2fc4f6ca
28 changed files with 581 additions and 80 deletions

View File

@@ -94,7 +94,7 @@ func (this *APINodeService) FindAllEnabledAPINodes(ctx context.Context, req *pb.
}
// 计算API节点数量
func (this *APINodeService) CountAllEnabledAPINodes(ctx context.Context, req *pb.CountAllEnabledAPINodesRequest) (*pb.CountAllEnabledAPINodesResponse, error) {
func (this *APINodeService) CountAllEnabledAPINodes(ctx context.Context, req *pb.CountAllEnabledAPINodesRequest) (*pb.RPCCountResponse, error) {
_, _, err := rpcutils.ValidateRequest(ctx, rpcutils.UserTypeAdmin)
if err != nil {
return nil, err
@@ -105,7 +105,7 @@ func (this *APINodeService) CountAllEnabledAPINodes(ctx context.Context, req *pb
return nil, err
}
return &pb.CountAllEnabledAPINodesResponse{Count: count}, nil
return &pb.RPCCountResponse{Count: count}, nil
}
// 列出单页的API节点