bug fixed
This commit is contained in:
parent
5ac12a6b6a
commit
4914b3ec55
12
src/main.rs
12
src/main.rs
|
@ -100,6 +100,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
queue_server_broker.clone(),
|
||||
pool.clone(),
|
||||
);
|
||||
let member_game_setting_service = services::member_game_setting::service::Service::new(
|
||||
connection_server_broker.clone(),
|
||||
queue_server_broker.clone(),
|
||||
pool.clone(),
|
||||
);
|
||||
let member_level_service = services::member_level::service::Service::new(
|
||||
connection_server_broker.clone(),
|
||||
queue_server_broker.clone(),
|
||||
|
@ -110,6 +115,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
queue_server_broker.clone(),
|
||||
pool.clone(),
|
||||
);
|
||||
let member_settlement_setting_service = services::member_game_setting::service::Service::new(
|
||||
connection_server_broker.clone(),
|
||||
queue_server_broker.clone(),
|
||||
pool.clone(),
|
||||
);
|
||||
let site_service = services::site::service::Service::new(
|
||||
connection_server_broker.clone(),
|
||||
queue_server_broker.clone(),
|
||||
|
@ -132,8 +142,10 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
member_bank_deposit_service.subscribe(),
|
||||
member_bank_withdraw_service.subscribe(),
|
||||
member_class_service.subscribe(),
|
||||
member_game_setting_service.subscribe(),
|
||||
member_level_service.subscribe(),
|
||||
member_referrer_service.subscribe(),
|
||||
member_settlement_setting_service.subscribe(),
|
||||
site_service.subscribe(),
|
||||
member_event_handler.subscribe(),
|
||||
)?;
|
||||
|
|
Loading…
Reference in New Issue
Block a user