field name of api is changed
This commit is contained in:
parent
2584bf8a55
commit
0142b2ead3
|
@ -9,7 +9,9 @@ pub struct _GetBalanceForUserResponse {
|
||||||
pub code: i64,
|
pub code: i64,
|
||||||
pub msg: Option<String>,
|
pub msg: Option<String>,
|
||||||
pub balance: i64,
|
pub balance: i64,
|
||||||
|
#[serde(rename = "balanceBota")]
|
||||||
pub balance_bota: i64,
|
pub balance_bota: i64,
|
||||||
|
#[serde(rename = "balanceSum")]
|
||||||
pub balance_sum: i64,
|
pub balance_sum: i64,
|
||||||
pub companies: i64,
|
pub companies: i64,
|
||||||
}
|
}
|
||||||
|
@ -17,7 +19,9 @@ pub struct _GetBalanceForUserResponse {
|
||||||
#[derive(Serialize, Deserialize, Debug)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
pub struct GetBalanceForUserResponse {
|
pub struct GetBalanceForUserResponse {
|
||||||
pub balance: i64,
|
pub balance: i64,
|
||||||
|
#[serde(rename = "balanceBota")]
|
||||||
pub balance_bota: i64,
|
pub balance_bota: i64,
|
||||||
|
#[serde(rename = "balanceSum")]
|
||||||
pub balance_sum: i64,
|
pub balance_sum: i64,
|
||||||
pub companies: i64,
|
pub companies: i64,
|
||||||
}
|
}
|
||||||
|
@ -29,12 +33,14 @@ pub struct _GetBalanceForPartnerResponse {
|
||||||
pub code: i64,
|
pub code: i64,
|
||||||
pub msg: Option<String>,
|
pub msg: Option<String>,
|
||||||
pub balance: i64,
|
pub balance: i64,
|
||||||
|
#[serde(rename = "balanceBota")]
|
||||||
pub balance_bota: i64,
|
pub balance_bota: i64,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug)]
|
#[derive(Serialize, Deserialize, Debug)]
|
||||||
pub struct GetBalanceForPartnerResponse {
|
pub struct GetBalanceForPartnerResponse {
|
||||||
pub balance: i64,
|
pub balance: i64,
|
||||||
|
#[serde(rename = "balanceBota")]
|
||||||
pub balance_bota: i64,
|
pub balance_bota: i64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user