This commit is contained in:
emcchui
2025-03-16 13:27:05 +08:00
parent 2919fceef1
commit feba3237ab
2 changed files with 100 additions and 152 deletions

View File

@@ -1,13 +1,13 @@
# application-dev.yml
# application-pro.yml
spring:
redis:
database: 2
port: 6379
host: 192.168.0.101
database: 1
host: 192.168.0.253
password: boe@123
port: 6379
jpa:
hibernate:
ddl-auto: none
ddl-auto: update
open-in-view: false
properties:
hibernate:
@@ -16,41 +16,46 @@ spring:
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
jdbc-url: jdbc:mysql://192.168.0.253: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
jdbc-url: jdbc:mysql://192.168.0.253: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
web:
resources:
static-locations: file:E:/Projects/BOE/java/static
logging:
level:
org:
hibernate:
SQL: DEBUG
type:
descriptor:
sql:
BasicBinder: TRACE
SQL: ERROR
# type:
# descriptor:
# sql:
# BasicBinder: TRACE
config: classpath:log/logback-dev.xml
xboe:
api:
cross_filter: true
upload:
file:
temp_path: E:/Projects/BOE/java/static/temp
save_path: E:/Projects/BOE/java/static/upload
http_path: http://localhost:9090/upload
temp_path: /tmp
save_path: /home/www/elearning/upload
http_path: https://192.168.0.253/upload
inner:
data:
sync:
baseurl: http://localhost:9090
baseurl: http://127.0.0.1:9090
jasypt:
encryptor:
algorithm: PBEWithMD5AndDES
iv-generator-classname: org.jasypt.iv.NoIvGenerator
iv-generator-classname: org.jasypt.iv.NoIvGenerator