member, member_bank_account are modified

This commit is contained in:
병준 박 2022-08-24 06:12:21 +00:00
parent 50078431b9
commit f1a8f586b3
11 changed files with 123 additions and 16 deletions

View File

@ -89,6 +89,11 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
"./proto/c2se/backend/api/game.proto", "./proto/c2se/backend/api/game.proto",
"./proto/c2se/frontend/bank.proto", "./proto/c2se/frontend/bank.proto",
"./proto/c2se/frontend/identity.proto", "./proto/c2se/frontend/identity.proto",
"./proto/c2se/frontend/member_bank_account.proto",
"./proto/c2se/frontend/member_bank_deposit.proto",
"./proto/c2se/frontend/member_bank_withdraw.proto",
"./proto/c2se/frontend/member_referrer.proto",
"./proto/c2se/frontend/member.proto",
"./proto/c2se/frontend/api/vendor.proto", "./proto/c2se/frontend/api/vendor.proto",
"./proto/c2se/frontend/api/game.proto", "./proto/c2se/frontend/api/game.proto",
], ],

View File

@ -8,4 +8,6 @@ package bet.beteran.c2se.backend.member;
// subject = bet.beteran.c2se.backend.member.GetMember // subject = bet.beteran.c2se.backend.member.GetMember
// subject = bet.beteran.c2se.backend.member.GetMemberByUsername // subject = bet.beteran.c2se.backend.member.GetMemberByUsername
// subject = bet.beteran.c2se.backend.member.UpdateMember // subject = bet.beteran.c2se.backend.member.UpdateMember
// subject = bet.beteran.c2se.backend.member.UpdateMemberForPassword
// subject = bet.beteran.c2se.backend.member.UpdateMemberForState
// subject = bet.beteran.c2se.backend.member.DeleteMember // subject = bet.beteran.c2se.backend.member.DeleteMember

View File

@ -6,4 +6,5 @@ package bet.beteran.c2se.backend.member_bank_account;
// subject = bet.beteran.c2se.backend.member_bank_account.ListMemberBankAccounts // subject = bet.beteran.c2se.backend.member_bank_account.ListMemberBankAccounts
// subject = bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount // subject = bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount
// subject = bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount // subject = bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount
// subject = bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccountForExchangePassword
// subject = bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount // subject = bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package bet.beteran.c2se.frontend.member;
// subject = bet.beteran.c2se.frontend.member.CreateMember
// subject = bet.beteran.c2se.frontend.member.GetMember
// subject = bet.beteran.c2se.frontend.member.GetMemberByUsername
// subject = bet.beteran.c2se.frontend.member.UpdateMember
// subject = bet.beteran.c2se.frontend.member.UpdateMemberForPassword
// subject = bet.beteran.c2se.frontend.member.DeleteMember

View File

@ -0,0 +1,8 @@
syntax = "proto3";
package bet.beteran.c2se.frontend.member_bank_account;
// subject = bet.beteran.c2se.frontend.member_bank_account.CreateMemberBankAccount
// subject = bet.beteran.c2se.frontend.member_bank_account.GetMemberBankAccount
// subject = bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccount
// subject = bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccountForExchangePassword

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package bet.beteran.c2se.frontend.member_bank_deposit;
// subject = bet.beteran.c2se.frontend.member_bank_deposit.CreateMemberBankDeposit
// subject = bet.beteran.c2se.frontend.member_bank_deposit.ListMemberBankDeposits
// subject = bet.beteran.c2se.frontend.member_bank_deposit.GetMemberBankDeposit
// subject = bet.beteran.c2se.frontend.member_bank_deposit.UpdateMemberBankDeposit
// subject = bet.beteran.c2se.frontend.member_bank_deposit.DeleteMemberBankDeposit

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package bet.beteran.c2se.frontend.member_bank_withdraw;
// subject = bet.beteran.c2se.frontend.member_bank_withdraw.CreateMemberBankWithdraw
// subject = bet.beteran.c2se.frontend.member_bank_withdraw.ListMemberBankWithdraws
// subject = bet.beteran.c2se.frontend.member_bank_withdraw.GetMemberBankWithdraw
// subject = bet.beteran.c2se.frontend.member_bank_withdraw.UpdateMemberBankWithdraw
// subject = bet.beteran.c2se.frontend.member_bank_withdraw.DeleteMemberBankWithdraw

View File

@ -14,6 +14,7 @@ message CreateMemberRequest {
string name = 2; string name = 2;
string account_number = 3; string account_number = 3;
string exchange_password = 4; string exchange_password = 4;
optional string memo = 5;
} }
message GameSetting { message GameSetting {
bool can_bet_casino = 1; bool can_bet_casino = 1;
@ -122,7 +123,7 @@ message UpdateMemberRequest {
string bank_id = 2; string bank_id = 2;
string name = 3; string name = 3;
string account_number = 4; string account_number = 4;
string exchange_password = 5; optional string memo = 5;
} }
message GameSetting { message GameSetting {
string id = 1; string id = 1;
@ -159,11 +160,10 @@ message UpdateMemberRequest {
string id = 1; string id = 1;
optional string site_id = 2; optional string site_id = 2;
optional string member_level_id = 3; optional string member_level_id = 3;
optional string password = 4; optional string mobile_phone_number = 4;
optional string mobile_phone_number = 5; optional BankAccount bank_account = 5;
optional BankAccount bank_account = 6; optional GameSetting game_setting = 6;
optional GameSetting game_setting = 7; optional SettlementSetting settlement_setting = 7;
optional SettlementSetting settlement_setting = 8;
} }
message UpdateMemberResponse { message UpdateMemberResponse {
@ -174,6 +174,19 @@ message UpdateMemberResponse {
optional Result result = 2; optional Result result = 2;
} }
message UpdateMemberForPasswordRequest {
string id = 1;
string password = 2;
}
message UpdateMemberForPasswordResponse {
message Result {
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
message UpdateMemberForStateRequest { message UpdateMemberForStateRequest {
string id = 1; string id = 1;
bet.beteran.member.MemberState state = 2; bet.beteran.member.MemberState state = 2;

View File

@ -62,8 +62,7 @@ message UpdateMemberBankAccountRequest {
string bank_id = 2; string bank_id = 2;
string name = 3; string name = 3;
string account_number = 4; string account_number = 4;
string exchange_password = 5; optional string memo = 5;
optional string memo = 6;
} }
@ -75,6 +74,21 @@ message UpdateMemberBankAccountResponse {
optional Result result = 2; optional Result result = 2;
} }
message UpdateMemberBankAccountForExchangePasswordRequest {
string id = 1;
string exchange_password = 2;
}
message UpdateMemberBankAccountForExchangePasswordResponse {
message Result {
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
message DeleteMemberBankAccountRequest { message DeleteMemberBankAccountRequest {
string id = 1; string id = 1;
} }

View File

@ -144,7 +144,7 @@ message UpdateMemberRequest {
string bank_id = 2; string bank_id = 2;
string name = 3; string name = 3;
string account_number = 4; string account_number = 4;
string exchange_password = 5; optional string memo = 5;
} }
message GameSetting { message GameSetting {
string id = 1; string id = 1;
@ -181,11 +181,10 @@ message UpdateMemberRequest {
string id = 1; string id = 1;
optional string site_id = 2; optional string site_id = 2;
optional string member_level_id = 3; optional string member_level_id = 3;
optional string password = 4; optional string mobile_phone_number = 4;
optional string mobile_phone_number = 5; optional BankAccount bank_account = 5;
optional BankAccount bank_account = 6; optional GameSetting game_setting = 6;
optional GameSetting game_setting = 7; optional SettlementSetting settlement_setting = 7;
optional SettlementSetting settlement_setting = 8;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
Request request = 2; Request request = 2;
@ -199,6 +198,25 @@ message UpdateMemberResponse {
optional Result result = 2; optional Result result = 2;
} }
// subject = bet.beteran.ss.member.UpdateMemberForPassword
message UpdateMemberForPasswordRequest {
message Request {
string id = 1;
string password = 2;
}
bet.beteran.core.network.Client client = 1;
Request request = 2;
}
message UpdateMemberForPasswordResponse {
message Result {
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
// subject = bet.beteran.ss.member.UpdateMemberForState // subject = bet.beteran.ss.member.UpdateMemberForState
message UpdateMemberForStateRequest { message UpdateMemberForStateRequest {
message Request { message Request {

View File

@ -79,8 +79,7 @@ message UpdateMemberBankAccountRequest {
string bank_id = 2; string bank_id = 2;
string name = 3; string name = 3;
string account_number = 4; string account_number = 4;
string exchange_password = 5; optional string memo = 5;
optional string memo = 6;
} }
bet.beteran.core.network.Client client = 1; bet.beteran.core.network.Client client = 1;
@ -95,6 +94,24 @@ message UpdateMemberBankAccountResponse {
optional Result result = 2; optional Result result = 2;
} }
// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccountForExchangePassword
message UpdateMemberBankAccountForExchangePasswordRequest {
message Request {
string id = 1;
string exchange_password = 2;
}
bet.beteran.core.network.Client client = 1;
Request request = 2;
}
message UpdateMemberBankAccountForExchangePasswordResponse {
message Result {
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount // subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount
message DeleteMemberBankAccountRequest { message DeleteMemberBankAccountRequest {
message Request { message Request {