From 385ef3a9ced1beb1d8a4e0e92af492e5b42816c7 Mon Sep 17 00:00:00 2001 From: rita <97798661+Love-YeLin@users.noreply.github.com> Date: Sat, 13 Apr 2024 16:20:30 +0800 Subject: [PATCH] =?UTF-8?q?Fix/=E4=BF=AE=E6=94=B9relation=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=20(#193)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/platform.proto | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/platform.proto b/platform/platform.proto index cfaa3c3..f8d34ec 100644 --- a/platform/platform.proto +++ b/platform/platform.proto @@ -52,7 +52,7 @@ message GetCommentListResp { message GetCommentBlocksReq { string subjectId = 1; - string fatherId = 2; + string rootId = 2; optional basic.PaginationOptions pagination = 3; } @@ -119,7 +119,6 @@ message UpdateCommentSubjectReq { } message UpdateCommentSubjectResp { - } message DeleteCommentSubjectReq { @@ -196,7 +195,6 @@ message CreateRelationReq{ int64 toType = 3; string toId = 4; int64 relationType = 5; - bool isOnly = 6; } message CreateRelationResp{ @@ -229,6 +227,7 @@ message FromFilterOptions{ string fromId = 2; int64 toType = 3; } + message ToFilterOptions{ int64 toType = 1; string toId = 2; @@ -246,6 +245,7 @@ message GetRelationsReq{ message GetRelationsResp{ repeated Relation relations = 1; int64 total = 2; + string token = 3; } message GetRelationCountReq{ @@ -314,11 +314,11 @@ service PlatformService { rpc GetLabels(GetLabelsReq) returns (GetLabelsResp); rpc CreateRelation(CreateRelationReq) returns(CreateRelationResp); - rpc GetRelations(GetRelationsReq) returns(GetRelationsResp); - rpc GetRelationCount(GetRelationCountReq) returns(GetRelationCountResp); rpc DeleteRelation(DeleteRelationReq) returns(DeleteRelationResp); rpc GetRelation(GetRelationReq) returns(GetRelationResp); - rpc GetRelationPaths(GetRelationPathsReq) returns(GetRelationPathsResp); rpc DeleteNode(DeleteNodeReq) returns(DeleteNodeResp); + rpc GetRelations(GetRelationsReq) returns(GetRelationsResp); + rpc GetRelationCount(GetRelationCountReq) returns(GetRelationCountResp); + rpc GetRelationPaths(GetRelationPathsReq) returns(GetRelationPathsResp); rpc GetRelationPathsCount(GetRelationPathsCountReq) returns(GetRelationPathsCountResp); }