actions of member are added

This commit is contained in:
병준 박 2022-08-11 07:23:27 +00:00
parent 50f7f4e5d7
commit e41c2bdece
2 changed files with 61 additions and 1 deletions

View File

@ -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;
}

View File

@ -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;
}