diff --git a/blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportConfiguration.java b/blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportDataSourceConfiguration.java similarity index 97% rename from blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportConfiguration.java rename to blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportDataSourceConfiguration.java index 372fbcbb..fda82ed2 100644 --- a/blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportConfiguration.java +++ b/blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportDataSourceConfiguration.java @@ -30,7 +30,7 @@ import javax.sql.DataSource; */ @Configuration @ConditionalOnProperty(value = "report.enabled", havingValue = "true", matchIfMissing = true) -public class ReportConfiguration { +public class ReportDataSourceConfiguration { /** * 自定义报表可选数据源 diff --git a/blade-ops/blade-report/src/main/resources/application.yml b/blade-ops/blade-report/src/main/resources/application.yml index 8447a378..027a146f 100644 --- a/blade-ops/blade-report/src/main/resources/application.yml +++ b/blade-ops/blade-report/src/main/resources/application.yml @@ -1,3 +1,10 @@ #服务器端口 server: port: 8108 + +#报表配置 +report: + enabled: true + database: + provider: + prefix: blade-