member, member_bank_account are modified
This commit is contained in:
parent
50078431b9
commit
f1a8f586b3
5
build.rs
5
build.rs
|
@ -89,6 +89,11 @@ static TARGETS: Lazy<HashMap<&str, Vec<&str>>> = Lazy::new(|| {
|
|||
"./proto/c2se/backend/api/game.proto",
|
||||
"./proto/c2se/frontend/bank.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/game.proto",
|
||||
],
|
||||
|
|
|
@ -8,4 +8,6 @@ package bet.beteran.c2se.backend.member;
|
|||
// subject = bet.beteran.c2se.backend.member.GetMember
|
||||
// subject = bet.beteran.c2se.backend.member.GetMemberByUsername
|
||||
// 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
|
||||
|
|
|
@ -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.GetMemberBankAccount
|
||||
// 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
|
||||
|
|
11
proto/c2se/frontend/member.proto
Normal file
11
proto/c2se/frontend/member.proto
Normal 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
|
8
proto/c2se/frontend/member_bank_account.proto
Normal file
8
proto/c2se/frontend/member_bank_account.proto
Normal 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
|
9
proto/c2se/frontend/member_bank_deposit.proto
Normal file
9
proto/c2se/frontend/member_bank_deposit.proto
Normal 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
|
9
proto/c2se/frontend/member_bank_withdraw.proto
Normal file
9
proto/c2se/frontend/member_bank_withdraw.proto
Normal 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
|
|
@ -14,6 +14,7 @@ message CreateMemberRequest {
|
|||
string name = 2;
|
||||
string account_number = 3;
|
||||
string exchange_password = 4;
|
||||
optional string memo = 5;
|
||||
}
|
||||
message GameSetting {
|
||||
bool can_bet_casino = 1;
|
||||
|
@ -122,7 +123,7 @@ message UpdateMemberRequest {
|
|||
string bank_id = 2;
|
||||
string name = 3;
|
||||
string account_number = 4;
|
||||
string exchange_password = 5;
|
||||
optional string memo = 5;
|
||||
}
|
||||
message GameSetting {
|
||||
string id = 1;
|
||||
|
@ -159,11 +160,10 @@ message UpdateMemberRequest {
|
|||
string id = 1;
|
||||
optional string site_id = 2;
|
||||
optional string member_level_id = 3;
|
||||
optional string password = 4;
|
||||
optional string mobile_phone_number = 5;
|
||||
optional BankAccount bank_account = 6;
|
||||
optional GameSetting game_setting = 7;
|
||||
optional SettlementSetting settlement_setting = 8;
|
||||
optional string mobile_phone_number = 4;
|
||||
optional BankAccount bank_account = 5;
|
||||
optional GameSetting game_setting = 6;
|
||||
optional SettlementSetting settlement_setting = 7;
|
||||
}
|
||||
|
||||
message UpdateMemberResponse {
|
||||
|
@ -174,6 +174,19 @@ message UpdateMemberResponse {
|
|||
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 {
|
||||
string id = 1;
|
||||
bet.beteran.member.MemberState state = 2;
|
||||
|
|
|
@ -62,8 +62,7 @@ message UpdateMemberBankAccountRequest {
|
|||
string bank_id = 2;
|
||||
string name = 3;
|
||||
string account_number = 4;
|
||||
string exchange_password = 5;
|
||||
optional string memo = 6;
|
||||
optional string memo = 5;
|
||||
|
||||
}
|
||||
|
||||
|
@ -75,6 +74,21 @@ message UpdateMemberBankAccountResponse {
|
|||
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 {
|
||||
string id = 1;
|
||||
}
|
||||
|
|
|
@ -144,7 +144,7 @@ message UpdateMemberRequest {
|
|||
string bank_id = 2;
|
||||
string name = 3;
|
||||
string account_number = 4;
|
||||
string exchange_password = 5;
|
||||
optional string memo = 5;
|
||||
}
|
||||
message GameSetting {
|
||||
string id = 1;
|
||||
|
@ -181,11 +181,10 @@ message UpdateMemberRequest {
|
|||
string id = 1;
|
||||
optional string site_id = 2;
|
||||
optional string member_level_id = 3;
|
||||
optional string password = 4;
|
||||
optional string mobile_phone_number = 5;
|
||||
optional BankAccount bank_account = 6;
|
||||
optional GameSetting game_setting = 7;
|
||||
optional SettlementSetting settlement_setting = 8;
|
||||
optional string mobile_phone_number = 4;
|
||||
optional BankAccount bank_account = 5;
|
||||
optional GameSetting game_setting = 6;
|
||||
optional SettlementSetting settlement_setting = 7;
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
Request request = 2;
|
||||
|
@ -199,6 +198,25 @@ message UpdateMemberResponse {
|
|||
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
|
||||
message UpdateMemberForStateRequest {
|
||||
message Request {
|
||||
|
|
|
@ -79,8 +79,7 @@ message UpdateMemberBankAccountRequest {
|
|||
string bank_id = 2;
|
||||
string name = 3;
|
||||
string account_number = 4;
|
||||
string exchange_password = 5;
|
||||
optional string memo = 6;
|
||||
optional string memo = 5;
|
||||
|
||||
}
|
||||
bet.beteran.core.network.Client client = 1;
|
||||
|
@ -95,6 +94,24 @@ message UpdateMemberBankAccountResponse {
|
|||
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
|
||||
message DeleteMemberBankAccountRequest {
|
||||
message Request {
|
||||
|
|
Loading…
Reference in New Issue
Block a user