total_count is added
This commit is contained in:
parent
44fc11abe6
commit
2b259f63e6
|
@ -19,7 +19,7 @@ nats = { version = "0" }
|
||||||
prost = { version = "0" }
|
prost = { version = "0" }
|
||||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||||
|
|
||||||
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]
|
||||||
|
|
|
@ -189,7 +189,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,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,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(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -331,6 +331,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,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -335,6 +335,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,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user