member, member_bank_account are modified

This commit is contained in:
병준 박 2022-08-24 06:10:38 +00:00
parent 1af1ce0025
commit 35fd929de3
11 changed files with 181 additions and 29 deletions

View File

@ -6,6 +6,8 @@ pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMembe
pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str = pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str =
const_format::concatcp!(SUBJECT, ".GetMemberByUsername"); const_format::concatcp!(SUBJECT, ".GetMemberByUsername");
pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember"); pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember");
pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword");
pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str = pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForState"); const_format::concatcp!(SUBJECT, ".UpdateMemberForState");
pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember"); pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember");

View File

@ -1,7 +1,14 @@
const SUBJECT: &str = "bet.beteran.c2se.backend.member_bank_account"; const SUBJECT: &str = "bet.beteran.c2se.backend.member_bank_account";
pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount"); pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str =
pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str = const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts"); const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount");
pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); pub const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: &str =
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); const_format::concatcp!(SUBJECT, ".ListMemberBankAccounts");
pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword");
pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount");

View File

@ -0,0 +1,10 @@
const SUBJECT: &str = "bet.beteran.c2se.frontend.member";
pub const SUBJECT_CREATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".CreateMember");
pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMember");
pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str =
const_format::concatcp!(SUBJECT, ".GetMemberByUsername");
pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember");
pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword");
pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember");

View File

@ -0,0 +1,10 @@
const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_account";
pub const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankAccount");
pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword");

View File

@ -0,0 +1,12 @@
const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_deposit";
pub const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankDeposit");
pub const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberBankDeposits");
pub const SUBJECT_GET_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankDeposit");
pub const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankDeposit");
pub const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankDeposit");

View File

@ -0,0 +1,12 @@
const SUBJECT: &str = "bet.beteran.c2se.frontend.member_bank_withdraw";
pub const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".CreateMemberBankWithdraw");
pub const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: &str =
const_format::concatcp!(SUBJECT, ".ListMemberBankWithdraws");
pub const SUBJECT_GET_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankWithdraw");
pub const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankWithdraw");
pub const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankWithdraw");

View File

@ -1,11 +1,11 @@
pub mod api; pub mod api;
pub mod bank; pub mod bank;
pub mod identity; pub mod identity;
pub mod member;
pub mod member_bank_account;
pub mod member_bank_deposit;
pub mod member_bank_withdraw;
pub mod member_referrer; pub mod member_referrer;
// pub mod member_bank_account;
// pub mod member_bank_deposit;
// pub mod member_bank_withdraw;
// pub mod member_class; // pub mod member_class;
// pub mod member_level; // pub mod member_level;
// pub mod member;
// pub mod site; // pub mod site;

View File

@ -35,6 +35,8 @@ pub mod create_member_request {
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "4")] #[prost(string, tag = "4")]
pub exchange_password: ::prost::alloc::string::String, pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "5")]
pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GameSetting { pub struct GameSetting {
@ -219,14 +221,12 @@ pub struct UpdateMemberRequest {
#[prost(string, optional, tag = "3")] #[prost(string, optional, tag = "3")]
pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, pub member_level_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "4")] #[prost(string, optional, tag = "4")]
pub password: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "6")] #[prost(message, optional, tag = "5")]
pub bank_account: ::core::option::Option<update_member_request::BankAccount>, pub bank_account: ::core::option::Option<update_member_request::BankAccount>,
#[prost(message, optional, tag = "7")] #[prost(message, optional, tag = "6")]
pub game_setting: ::core::option::Option<update_member_request::GameSetting>, pub game_setting: ::core::option::Option<update_member_request::GameSetting>,
#[prost(message, optional, tag = "8")] #[prost(message, optional, tag = "7")]
pub settlement_setting: ::core::option::Option<update_member_request::SettlementSetting>, pub settlement_setting: ::core::option::Option<update_member_request::SettlementSetting>,
} }
/// Nested message and enum types in `UpdateMemberRequest`. /// Nested message and enum types in `UpdateMemberRequest`.
@ -241,8 +241,8 @@ pub mod update_member_request {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "5")] #[prost(string, optional, tag = "5")]
pub exchange_password: ::prost::alloc::string::String, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GameSetting { pub struct GameSetting {
@ -329,6 +329,25 @@ pub mod update_member_response {
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForPasswordRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForPasswordResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_for_password_response::Result>,
}
/// Nested message and enum types in `UpdateMemberForPasswordResponse`.
pub mod update_member_for_password_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForStateRequest { pub struct UpdateMemberForStateRequest {
#[prost(string, tag = "1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,

View File

@ -101,9 +101,7 @@ pub struct UpdateMemberBankAccountRequest {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "5")] #[prost(string, optional, tag = "5")]
pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
@ -123,6 +121,26 @@ pub mod update_member_bank_account_response {
} }
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountForExchangePasswordRequest {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub exchange_password: ::prost::alloc::string::String,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountForExchangePasswordResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result:
::core::option::Option<update_member_bank_account_for_exchange_password_response::Result>,
}
/// Nested message and enum types in `UpdateMemberBankAccountForExchangePasswordResponse`.
pub mod update_member_bank_account_for_exchange_password_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankAccountRequest { pub struct DeleteMemberBankAccountRequest {
#[prost(string, tag = "1")] #[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String, pub id: ::prost::alloc::string::String,

View File

@ -7,6 +7,8 @@ pub const SUBJECT_GET_MEMBER: &str = const_format::concatcp!(SUBJECT, ".GetMembe
pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str = pub const SUBJECT_GET_MEMBER_BY_USERNAME: &str =
const_format::concatcp!(SUBJECT, ".GetMemberByUsername"); const_format::concatcp!(SUBJECT, ".GetMemberByUsername");
pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember"); pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".UpdateMember");
pub const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForPassword");
pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str = pub const SUBJECT_UPDATE_MEMBER_FOR_STATE: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberForState"); const_format::concatcp!(SUBJECT, ".UpdateMemberForState");
pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember"); pub const SUBJECT_DELETE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".DeleteMember");
@ -293,14 +295,12 @@ pub mod update_member_request {
#[prost(string, optional, tag = "3")] #[prost(string, optional, tag = "3")]
pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, pub member_level_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "4")] #[prost(string, optional, tag = "4")]
pub password: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "5")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(message, optional, tag = "6")] #[prost(message, optional, tag = "5")]
pub bank_account: ::core::option::Option<request::BankAccount>, pub bank_account: ::core::option::Option<request::BankAccount>,
#[prost(message, optional, tag = "7")] #[prost(message, optional, tag = "6")]
pub game_setting: ::core::option::Option<request::GameSetting>, pub game_setting: ::core::option::Option<request::GameSetting>,
#[prost(message, optional, tag = "8")] #[prost(message, optional, tag = "7")]
pub settlement_setting: ::core::option::Option<request::SettlementSetting>, pub settlement_setting: ::core::option::Option<request::SettlementSetting>,
} }
/// Nested message and enum types in `Request`. /// Nested message and enum types in `Request`.
@ -315,8 +315,8 @@ pub mod update_member_request {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "5")] #[prost(string, optional, tag = "5")]
pub exchange_password: ::prost::alloc::string::String, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct GameSetting { pub struct GameSetting {
@ -403,6 +403,36 @@ pub mod update_member_response {
pub member: ::core::option::Option<crate::models::member::MemberModel>, pub member: ::core::option::Option<crate::models::member::MemberModel>,
} }
} }
/// subject = bet.beteran.ss.member.UpdateMemberForPassword
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForPasswordRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request: ::core::option::Option<update_member_for_password_request::Request>,
}
/// Nested message and enum types in `UpdateMemberForPasswordRequest`.
pub mod update_member_for_password_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForPasswordResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result: ::core::option::Option<update_member_for_password_response::Result>,
}
/// Nested message and enum types in `UpdateMemberForPasswordResponse`.
pub mod update_member_for_password_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}
/// subject = bet.beteran.ss.member.UpdateMemberForState /// subject = bet.beteran.ss.member.UpdateMemberForState
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberForStateRequest { pub struct UpdateMemberForStateRequest {

View File

@ -8,6 +8,8 @@ pub const SUBJECT_GET_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".GetMemberBankAccount"); const_format::concatcp!(SUBJECT, ".GetMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str = pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount"); const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccount");
pub const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: &str =
const_format::concatcp!(SUBJECT, ".UpdateMemberBankAccountForExchangePassword");
pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str = pub const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: &str =
const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount"); const_format::concatcp!(SUBJECT, ".DeleteMemberBankAccount");
@ -157,9 +159,7 @@ pub mod update_member_bank_account_request {
pub name: ::prost::alloc::string::String, pub name: ::prost::alloc::string::String,
#[prost(string, tag = "4")] #[prost(string, tag = "4")]
pub account_number: ::prost::alloc::string::String, pub account_number: ::prost::alloc::string::String,
#[prost(string, tag = "5")] #[prost(string, optional, tag = "5")]
pub exchange_password: ::prost::alloc::string::String,
#[prost(string, optional, tag = "6")]
pub memo: ::core::option::Option<::prost::alloc::string::String>, pub memo: ::core::option::Option<::prost::alloc::string::String>,
} }
} }
@ -179,6 +179,38 @@ pub mod update_member_bank_account_response {
::core::option::Option<crate::models::member_bank_account::MemberBankAccount>, ::core::option::Option<crate::models::member_bank_account::MemberBankAccount>,
} }
} }
/// subject = bet.beteran.ss.member_bank_account.UpdateMemberBankAccountForExchangePassword
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountForExchangePasswordRequest {
#[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<crate::models::core::network::Client>,
#[prost(message, optional, tag = "2")]
pub request:
::core::option::Option<update_member_bank_account_for_exchange_password_request::Request>,
}
/// Nested message and enum types in `UpdateMemberBankAccountForExchangePasswordRequest`.
pub mod update_member_bank_account_for_exchange_password_request {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag = "1")]
pub id: ::prost::alloc::string::String,
#[prost(string, tag = "2")]
pub exchange_password: ::prost::alloc::string::String,
}
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UpdateMemberBankAccountForExchangePasswordResponse {
#[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<crate::protobuf::rpc::Error>,
#[prost(message, optional, tag = "2")]
pub result:
::core::option::Option<update_member_bank_account_for_exchange_password_response::Result>,
}
/// Nested message and enum types in `UpdateMemberBankAccountForExchangePasswordResponse`.
pub mod update_member_bank_account_for_exchange_password_response {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {}
}
/// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount /// subject = bet.beteran.ss.member_bank_account.DeleteMemberBankAccount
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct DeleteMemberBankAccountRequest { pub struct DeleteMemberBankAccountRequest {