Skip to content

Commit

Permalink
Fix/新增删除neo4j节点rpc (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Love-YeLin authored Apr 6, 2024
1 parent ddfbce6 commit 89cc3a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions platform/comment/comment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ message DeleteCommentSubjectReq {
message DeleteCommentSubjectResp {
}

message DeleteCommentByIdsReq {
repeated string ids = 1;
}

message DeleteCommentByIdsResp {
}

message CreateLabelReq {
Label label = 1;
}
Expand Down Expand Up @@ -139,6 +146,7 @@ service CommentService {
rpc CreateCommentSubject(CreateCommentSubjectReq) returns (CreateCommentSubjectResp);
rpc UpdateCommentSubject(UpdateCommentSubjectReq) returns (UpdateCommentSubjectResp);
rpc DeleteCommentSubject(DeleteCommentSubjectReq) returns (DeleteCommentSubjectResp);
rpc DeleteCommentByIds(DeleteCommentByIdsReq) returns (DeleteCommentByIdsResp);

rpc CreateLabel(CreateLabelReq) returns (CreateLabelResp);
rpc DeleteLabel(DeleteLabelReq) returns (DeleteLabelResp);
Expand Down
1 change: 1 addition & 0 deletions platform/comment/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ message CommentFilterOptions {
optional string onlyFatherId = 6;
optional int64 onlyState = 7;
optional int64 onlyAttrs = 8;
repeated string onlyCommentIds = 9;
}

message LabelFilterOptions {
Expand Down

0 comments on commit 89cc3a1

Please sign in to comment.