diff --git a/src/api/member_account/models.rs b/src/api/member_account/models.rs index bd2fadc..ef19d60 100644 --- a/src/api/member_account/models.rs +++ b/src/api/member_account/models.rs @@ -9,7 +9,9 @@ pub struct _GetBalanceForUserResponse { pub code: i64, pub msg: Option, pub balance: i64, + #[serde(rename = "balanceBota")] pub balance_bota: i64, + #[serde(rename = "balanceSum")] pub balance_sum: i64, pub companies: i64, } @@ -17,7 +19,9 @@ pub struct _GetBalanceForUserResponse { #[derive(Serialize, Deserialize, Debug)] pub struct GetBalanceForUserResponse { pub balance: i64, + #[serde(rename = "balanceBota")] pub balance_bota: i64, + #[serde(rename = "balanceSum")] pub balance_sum: i64, pub companies: i64, } @@ -29,12 +33,14 @@ pub struct _GetBalanceForPartnerResponse { pub code: i64, pub msg: Option, pub balance: i64, + #[serde(rename = "balanceBota")] pub balance_bota: i64, } #[derive(Serialize, Deserialize, Debug)] pub struct GetBalanceForPartnerResponse { pub balance: i64, + #[serde(rename = "balanceBota")] pub balance_bota: i64, }