From f830a8f1fac7155e84c3e4b4bd7d1895ca6f4830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=88=90=E9=94=B4?= Date: Wed, 22 Nov 2023 10:36:40 +0800 Subject: [PATCH] feat: add invite process --- proto/team/v1/team_service.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/proto/team/v1/team_service.proto b/proto/team/v1/team_service.proto index 8e9f640..7973884 100644 --- a/proto/team/v1/team_service.proto +++ b/proto/team/v1/team_service.proto @@ -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 { @@ -95,3 +102,8 @@ message RemoveMemberRequest { message RemoveMemberResponse {} +message AcceptInviteRequest { + string inviteId = 1; +} + +message AcceptInviteResponse {}