Skip to content

Commit

Permalink
Fix/修改relation服务 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
Love-YeLin authored Apr 13, 2024
1 parent 33ba79f commit 385ef3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions platform/platform.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ message GetCommentListResp {

message GetCommentBlocksReq {
string subjectId = 1;
string fatherId = 2;
string rootId = 2;
optional basic.PaginationOptions pagination = 3;
}

Expand Down Expand Up @@ -119,7 +119,6 @@ message UpdateCommentSubjectReq {
}

message UpdateCommentSubjectResp {

}

message DeleteCommentSubjectReq {
Expand Down Expand Up @@ -196,7 +195,6 @@ message CreateRelationReq{
int64 toType = 3;
string toId = 4;
int64 relationType = 5;
bool isOnly = 6;
}

message CreateRelationResp{
Expand Down Expand Up @@ -229,6 +227,7 @@ message FromFilterOptions{
string fromId = 2;
int64 toType = 3;
}

message ToFilterOptions{
int64 toType = 1;
string toId = 2;
Expand All @@ -246,6 +245,7 @@ message GetRelationsReq{
message GetRelationsResp{
repeated Relation relations = 1;
int64 total = 2;
string token = 3;
}

message GetRelationCountReq{
Expand Down Expand Up @@ -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);
}

0 comments on commit 385ef3a

Please sign in to comment.