total_count is added
This commit is contained in:
parent
e245e12d5e
commit
b00f84bab1
|
@ -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.92-snapshot" }
|
beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.93-snapshot" }
|
||||||
beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.78-snapshot" }
|
beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.79-snapshot" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -282,6 +282,7 @@ impl Service {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(
|
result: Some(
|
||||||
bpr::c2se::api::betting::list_betting_history_response::Result {
|
bpr::c2se::api::betting::list_betting_history_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
betting_history,
|
betting_history,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
@ -138,7 +138,10 @@ impl Service {
|
||||||
.respond(
|
.respond(
|
||||||
bpr::c2se::api::game::ListGamesResponse {
|
bpr::c2se::api::game::ListGamesResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::api::game::list_games_response::Result { games: r.games }),
|
result: Some(bpr::c2se::api::game::list_games_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
|
games: r.games,
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
.encode_to_vec(),
|
.encode_to_vec(),
|
||||||
)
|
)
|
||||||
|
|
1
src/api/vendor/service.rs
vendored
1
src/api/vendor/service.rs
vendored
|
@ -143,6 +143,7 @@ impl Service {
|
||||||
bpr::c2se::api::vendor::ListVendorsResponse {
|
bpr::c2se::api::vendor::ListVendorsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::api::vendor::list_vendors_response::Result {
|
result: Some(bpr::c2se::api::vendor::list_vendors_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
vendors: r.vendors,
|
vendors: r.vendors,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,7 +247,10 @@ impl Service {
|
||||||
.respond(
|
.respond(
|
||||||
bpr::c2se::bank::ListBanksResponse {
|
bpr::c2se::bank::ListBanksResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::bank::list_banks_response::Result { banks: r.banks }),
|
result: Some(bpr::c2se::bank::list_banks_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
|
banks: r.banks,
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
.encode_to_vec(),
|
.encode_to_vec(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -318,6 +318,7 @@ impl Service {
|
||||||
bpr::c2se::member::ListMembersResponse {
|
bpr::c2se::member::ListMembersResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member::list_members_response::Result {
|
result: Some(bpr::c2se::member::list_members_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
members: r.members,
|
members: r.members,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -263,6 +263,7 @@ impl Service {
|
||||||
bpr::c2se::member_bank_account::ListMemberBankAccountsResponse {
|
bpr::c2se::member_bank_account::ListMemberBankAccountsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member_bank_account::list_member_bank_accounts_response::Result {
|
result: Some(bpr::c2se::member_bank_account::list_member_bank_accounts_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_bank_accounts: r.member_bank_accounts,
|
member_bank_accounts: r.member_bank_accounts,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -260,6 +260,7 @@ impl Service {
|
||||||
bpr::c2se::member_bank_deposit::ListMemberBankDepositsResponse {
|
bpr::c2se::member_bank_deposit::ListMemberBankDepositsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member_bank_deposit::list_member_bank_deposits_response::Result {
|
result: Some(bpr::c2se::member_bank_deposit::list_member_bank_deposits_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_bank_deposits: r.member_bank_deposits,
|
member_bank_deposits: r.member_bank_deposits,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -265,6 +265,7 @@ impl Service {
|
||||||
bpr::c2se::member_bank_withdraw::ListMemberBankWithdrawsResponse {
|
bpr::c2se::member_bank_withdraw::ListMemberBankWithdrawsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member_bank_withdraw::list_member_bank_withdraws_response::Result {
|
result: Some(bpr::c2se::member_bank_withdraw::list_member_bank_withdraws_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_bank_withdraws: r.member_bank_withdraws,
|
member_bank_withdraws: r.member_bank_withdraws,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -258,6 +258,7 @@ impl Service {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(
|
result: Some(
|
||||||
bpr::c2se::member_class::list_member_classes_response::Result {
|
bpr::c2se::member_class::list_member_classes_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_classes: r.member_classes,
|
member_classes: r.member_classes,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
@ -259,6 +259,7 @@ impl Service {
|
||||||
bpr::c2se::member_game_setting::ListMemberGameSettingsResponse {
|
bpr::c2se::member_game_setting::ListMemberGameSettingsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member_game_setting::list_member_game_settings_response::Result {
|
result: Some(bpr::c2se::member_game_setting::list_member_game_settings_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_game_settings: r.member_game_settings,
|
member_game_settings: r.member_game_settings,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -255,6 +255,7 @@ impl Service {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(
|
result: Some(
|
||||||
bpr::c2se::member_level::list_member_levels_response::Result {
|
bpr::c2se::member_level::list_member_levels_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_levels: r.member_levels,
|
member_levels: r.member_levels,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
@ -370,6 +370,7 @@ impl Service {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(
|
result: Some(
|
||||||
bpr::c2se::member_referrer::list_member_referrers_response::Result {
|
bpr::c2se::member_referrer::list_member_referrers_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_referrers: r.member_referrers,
|
member_referrers: r.member_referrers,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
|
@ -273,6 +273,7 @@ impl Service {
|
||||||
bpr::c2se::member_settlement_setting::ListMemberSettlementSettingsResponse {
|
bpr::c2se::member_settlement_setting::ListMemberSettlementSettingsResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::member_settlement_setting::list_member_settlement_settings_response::Result {
|
result: Some(bpr::c2se::member_settlement_setting::list_member_settlement_settings_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
member_settlement_settings: r.member_settlement_settings,
|
member_settlement_settings: r.member_settlement_settings,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,7 +147,10 @@ impl Service {
|
||||||
.respond(
|
.respond(
|
||||||
bpr::c2se::site::ListSitesResponse {
|
bpr::c2se::site::ListSitesResponse {
|
||||||
error: None,
|
error: None,
|
||||||
result: Some(bpr::c2se::site::list_sites_response::Result { sites: r.sites }),
|
result: Some(bpr::c2se::site::list_sites_response::Result {
|
||||||
|
total_count: r.total_count,
|
||||||
|
sites: r.sites,
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
.encode_to_vec(),
|
.encode_to_vec(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user