diff --git a/services/bios-all/Cargo.toml b/services/bios-all/Cargo.toml index 26c1a9d38..1c67d5af3 100644 --- a/services/bios-all/Cargo.toml +++ b/services/bios-all/Cargo.toml @@ -26,7 +26,7 @@ bios-spi-plugin = { path = "../../spi/spi-plugin" } bios-spi-reldb = { path = "../../spi/spi-reldb" } bios-spi-search = { path = "../../spi/spi-search" } bios-spi-stats = { path = "../../spi/spi-stats" } -bios-spi-conf = { path = "../../spi/spi-conf" } +#bios-spi-conf = { path = "../../spi/spi-conf" } bios-mw-schedule = { path = "../../middleware/schedule" } bios-mw-flow = { path = "../../middleware/flow" } diff --git a/services/bios-all/src/initializer.rs b/services/bios-all/src/initializer.rs index 4bae87328..55146f2fb 100644 --- a/services/bios-all/src/initializer.rs +++ b/services/bios-all/src/initializer.rs @@ -5,13 +5,13 @@ use tardis::web::web_server::TardisWebServer; pub async fn init(web_server: &TardisWebServer) -> TardisResult<()> { bios_auth::auth_initializer::init(web_server).await?; bios_iam::iam_initializer::init(web_server).await?; - bios_reach::reach_initializer::init( - web_server, - SendChannelMap::new() - .with_arc_channel(bios_client_hwsms::SmsClient::from_reach_config()) - .with_arc_channel(tardis::TardisFuns::mail_by_module_or_default(bios_reach::reach_consts::MODULE_CODE)), - ) - .await?; + // bios_reach::reach_initializer::init( + // web_server, + // SendChannelMap::new() + // .with_arc_channel(bios_client_hwsms::SmsClient::from_reach_config()) + // .with_arc_channel(tardis::TardisFuns::mail_by_module_or_default(bios_reach::reach_consts::MODULE_CODE)), + // ) + // .await?; bios_spi_cache::cache_initializer::init(web_server).await?; bios_spi_graph::graph_initializer::init(web_server).await?; @@ -22,9 +22,9 @@ pub async fn init(web_server: &TardisWebServer) -> TardisResult<()> { bios_spi_reldb::reldb_initializer::init(web_server).await?; bios_spi_search::search_initializer::init(web_server).await?; bios_spi_stats::stats_initializer::init(web_server).await?; - bios_spi_conf::conf_initializer::init(web_server).await?; + // bios_spi_conf::conf_initializer::init(web_server).await?; - bios_mw_schedule::schedule_initializer::init(web_server).await?; + // bios_mw_schedule::schedule_initializer::init(web_server).await?; bios_mw_flow::flow_initializer::init(web_server).await?; Ok(()) } diff --git a/services/bios-all/src/main.rs b/services/bios-all/src/main.rs index a831f3d83..1dab988d6 100644 --- a/services/bios-all/src/main.rs +++ b/services/bios-all/src/main.rs @@ -1,3 +1,4 @@ +use std::env; use tardis::basic::result::TardisResult; use tardis::tokio; use tardis::TardisFuns; @@ -10,7 +11,7 @@ mod initializer; /// #[tokio::main] async fn main() -> TardisResult<()> { - // env::set_var("RUST_LOG", "debug,tardis=trace,sqlx=off,bios=bios-serv-all,hyper::proto=off,sqlparser::parser=off"); + env::set_var("RUST_LOG", "debug,tardis=trace,sqlx=off,bios=bios-serv-all,hyper::proto=off,sqlparser::parser=off"); TardisFuns::init(Some("config")).await?; let web_server = TardisFuns::web_server(); initializer::init(&web_server).await?; diff --git a/spi/spi-plugin/src/serv/plugin_api_serv.rs b/spi/spi-plugin/src/serv/plugin_api_serv.rs index 61a1ff263..8d4bbfbc1 100644 --- a/spi/spi-plugin/src/serv/plugin_api_serv.rs +++ b/spi/spi-plugin/src/serv/plugin_api_serv.rs @@ -176,10 +176,10 @@ impl PluginApiServ { let resp = Self::find_one_detail_item( &PluginApiFilterReq { basic: RbumBasicFilterReq { - code: Some(code.to_string()), with_sub_own_paths: true, ..Default::default() }, + code: Some(code.to_string()), ..Default::default() }, funs,