Skip to content

Commit

Permalink
feat: add invite process
Browse files Browse the repository at this point in the history
  • Loading branch information
asjdf committed Nov 22, 2023
1 parent 355bd3f commit f830a8f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions proto/team/v1/team_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ service TeamService {
body: "*"
};
}
// 接受邀请加入团队
rpc AcceptInvite(AcceptInviteRequest) returns (AcceptInviteResponse) {
option (google.api.http) = {
post: "/gapi/team/v1/team/member/accept"
body: "*"
};
}
}

message GetTeamRequest {
Expand Down Expand Up @@ -95,3 +102,8 @@ message RemoveMemberRequest {

message RemoveMemberResponse {}

message AcceptInviteRequest {
string inviteId = 1;
}

message AcceptInviteResponse {}

0 comments on commit f830a8f

Please sign in to comment.