配置改为yml格式

This commit is contained in:
hui
2024-11-20 08:58:24 +08:00
parent 6e8959f754
commit 698b529726
11 changed files with 290 additions and 261 deletions

View File

@@ -0,0 +1,56 @@
# application-dev.yml
spring:
redis:
database: 2
port: 6379
host: 192.168.0.101
password: boe@123
jpa:
hibernate:
ddl-auto: none
open-in-view: false
properties:
hibernate:
enable_lazy_load_no_trans: true
datasource:
driverClassName: com.mysql.jdbc.Driver
db1:
driverClassName: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://192.168.0.101:3306/boe_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
username: root
password: boe#1234A
db2:
driverClassName: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://192.168.0.101:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
username: root
password: boe#1234A
web:
resources:
static-locations: file:E:/Projects/BOE/java/static
logging:
level:
org:
hibernate:
SQL: DEBUG
type:
descriptor:
sql:
BasicBinder: TRACE
config: classpath:log/logback-dev.xml
xboe:
upload:
file:
temp_path: E:/Projects/BOE/java/static/temp
save_path: E:/Projects/BOE/java/static/upload
http_path: http://localhost:9090/cdn/upload
inner:
data:
sync:
baseurl: http://localhost:9090
jasypt:
encryptor:
algorithm: PBEWithMD5AndDES
iv-generator-classname: org.jasypt.iv.NoIvGenerator