From e41c2bdece317b03ecf41dc6fdc967ada71e8f91 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 11 Aug 2022 07:23:27 +0000 Subject: [PATCH] actions of member are added --- proto/c2se/backend/member.proto | 30 +++++++++++++++++++++++++++++- proto/ss/member/member.proto | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/proto/c2se/backend/member.proto b/proto/c2se/backend/member.proto index 54fd229..a07611a 100644 --- a/proto/c2se/backend/member.proto +++ b/proto/c2se/backend/member.proto @@ -25,7 +25,6 @@ message ListMembersRequest { optional string last_signined_ip = 11; optional bet.beteran.member.MemberState state = 12; optional uint64 deleted_at = 13; - } message ListMembersResponse { @@ -61,3 +60,32 @@ message GetMemberByUsernameResponse { optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } + +// subject = bet.beteran.c2se.backend.member.UpdateMember +message UpdateMemberRequest { + optional string site_id = 1; + optional string member_level_id = 2; + optional string password = 3; + optional string mobile_phone_number = 4; + optional bet.beteran.member.MemberState state = 5; +} + +message UpdateMemberResponse { + message Result { + bet.beteran.member.MemberModel member = 1; + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +} + +// subject = bet.beteran.c2se.backend.member.DeleteMember +message DeleteMemberRequest { + string id = 1; +} + +message DeleteMemberResponse { + message Result { + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +} diff --git a/proto/ss/member/member.proto b/proto/ss/member/member.proto index c7f054e..8a90838 100644 --- a/proto/ss/member/member.proto +++ b/proto/ss/member/member.proto @@ -64,3 +64,35 @@ message GetMemberByUsernameResponse { optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } + + +// subject = bet.beteran.ss.member.UpdateMember +message UpdateMemberRequest { + bet.beteran.core.network.Client client = 1; + optional string site_id = 2; + optional string member_level_id = 3; + optional string password = 4; + optional string mobile_phone_number = 5; + optional bet.beteran.member.MemberState state = 6; +} + +message UpdateMemberResponse { + message Result { + bet.beteran.member.MemberModel member = 1; + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +} + +// subject = bet.beteran.ss.member.DeleteMember +message DeleteMemberRequest { + bet.beteran.core.network.Client client = 1; + string id = 2; +} + +message DeleteMemberResponse { + message Result { + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +}