修改springboot3的配置yml

pull/8550/merge
JEECG 2025-08-03 12:51:32 +08:00
parent 91208a4968
commit 59ece16059
3 changed files with 20 additions and 17 deletions

View File

@ -154,11 +154,12 @@ spring:
# password: jeecgboot@459 # password: jeecgboot@459
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
#redis配置 #redis配置
redis: data:
database: 0 redis:
host: 127.0.0.1 database: 0
port: 6379 host: 127.0.0.1
password: '' port: 6379
password: ''
#mybatis plus 设置 #mybatis plus 设置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml

View File

@ -22,7 +22,7 @@ management:
endpoints: endpoints:
web: web:
exposure: exposure:
include: metrics,jeecghttptrace include: metrics,httpexchanges,jeecghttptrace
spring: spring:
flyway: flyway:
@ -114,7 +114,7 @@ spring:
static-locations: classpath:/static/,classpath:/public/ static-locations: classpath:/static/,classpath:/public/
autoconfigure: autoconfigure:
exclude: exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure - com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure
- org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration - org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration
datasource: datasource:
druid: druid:
@ -167,11 +167,12 @@ spring:
#password: root #password: root
#driver-class-name: com.mysql.cj.jdbc.Driver #driver-class-name: com.mysql.cj.jdbc.Driver
#redis 配置 #redis 配置
redis: data:
database: 0 redis:
host: 127.0.0.1 database: 0
port: 6379 host: 127.0.0.1
password: '' port: 6379
password:
#mybatis plus 设置 #mybatis plus 设置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml

View File

@ -149,11 +149,12 @@ spring:
username: jeecgboot username: jeecgboot
password: ?? password: ??
#redis配置 #redis配置
redis: data:
database: 0 redis:
host: 127.0.0.1 database: 0
port: 6379 host: 127.0.0.1
password: '' port: 6379
password: ''
#mybatis plus 设置 #mybatis plus 设置
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml mapper-locations: classpath*:org/jeecg/**/xml/*Mapper.xml