member, member_bank_account are modified
This commit is contained in:
parent
5fa4a682db
commit
0e5ea53a1e
|
@ -19,7 +19,7 @@ prost = { version = "0" }
|
||||||
nats = { version = "0" }
|
nats = { version = "0" }
|
||||||
base64 = { version = "0" }
|
base64 = { version = "0" }
|
||||||
|
|
||||||
beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.58-snapshot" }
|
beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.60-snapshot" }
|
||||||
beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.42-snapshot" }
|
beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.44-snapshot" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -96,6 +96,7 @@ impl Service {
|
||||||
bank_id: a.bank_id,
|
bank_id: a.bank_id,
|
||||||
name: a.name,
|
name: a.name,
|
||||||
account_number: a.account_number,
|
account_number: a.account_number,
|
||||||
|
exchange_password: a.exchange_password,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
None => None,
|
None => None,
|
||||||
|
@ -522,6 +523,19 @@ impl Service {
|
||||||
})
|
})
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
let bank_account = match req.bank_account {
|
||||||
|
Some(a) => Some(
|
||||||
|
bpr::ss::member::update_member_request::request::BankAccount {
|
||||||
|
id: a.id,
|
||||||
|
bank_id: a.bank_id,
|
||||||
|
name: a.name,
|
||||||
|
account_number: a.account_number,
|
||||||
|
exchange_password: a.exchange_password,
|
||||||
|
},
|
||||||
|
),
|
||||||
|
None => None,
|
||||||
|
};
|
||||||
|
|
||||||
let ss_update_member_req = bpr::ss::member::UpdateMemberRequest {
|
let ss_update_member_req = bpr::ss::member::UpdateMemberRequest {
|
||||||
client: Some(client),
|
client: Some(client),
|
||||||
request: Some(bpr::ss::member::update_member_request::Request {
|
request: Some(bpr::ss::member::update_member_request::Request {
|
||||||
|
@ -530,6 +544,7 @@ impl Service {
|
||||||
member_level_id: req.member_level_id,
|
member_level_id: req.member_level_id,
|
||||||
password: req.password,
|
password: req.password,
|
||||||
mobile_phone_number: req.mobile_phone_number,
|
mobile_phone_number: req.mobile_phone_number,
|
||||||
|
bank_account,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ impl Service {
|
||||||
bank_id: req.bank_id,
|
bank_id: req.bank_id,
|
||||||
name: req.name,
|
name: req.name,
|
||||||
account_number: req.account_number,
|
account_number: req.account_number,
|
||||||
|
exchange_password: req.exchange_password,
|
||||||
memo: req.memo,
|
memo: req.memo,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
@ -420,6 +421,7 @@ impl Service {
|
||||||
bank_id: req.bank_id,
|
bank_id: req.bank_id,
|
||||||
name: req.name,
|
name: req.name,
|
||||||
account_number: req.account_number,
|
account_number: req.account_number,
|
||||||
|
exchange_password: req.exchange_password,
|
||||||
memo: req.memo,
|
memo: req.memo,
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user