Browse Source

优化报表配置

test
smallchill 4 years ago
parent
commit
48626ea0b1
  1. 2
      blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportDataSourceConfiguration.java
  2. 7
      blade-ops/blade-report/src/main/resources/application.yml

2
blade-ops/blade-report/src/main/java/org/springblade/report/config/ReportConfiguration.java → 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 {
/**
* 自定义报表可选数据源

7
blade-ops/blade-report/src/main/resources/application.yml

@ -1,3 +1,10 @@
#服务器端口
server:
port: 8108
#报表配置
report:
enabled: true
database:
provider:
prefix: blade-

Loading…
Cancel
Save