This commit is contained in:
六如
2024-12-26 15:30:33 +08:00
parent bf6af442e0
commit 9e4c9e02ff
6 changed files with 6 additions and 2 deletions

View File

@@ -4,5 +4,6 @@ mybatis.print-sql=true
# mysql config
mysql.host=127.0.0.1:3306
mysql.db=sop
mysql.username=root
mysql.password=root

View File

@@ -7,6 +7,7 @@ gateway.manager.cache-type=redis
# mysql config
mysql.host=127.0.0.1:3306
mysql.db=sop
mysql.username=root
mysql.password=root

View File

@@ -70,9 +70,9 @@ spring.servlet.multipart.max-request-size=20MB
####### mysql config #######
mysql.host=127.0.0.1:3306
mysql.db=sop
mysql.username=
mysql.password=
mysql.db=sop
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://${mysql.host}/${mysql.db}?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai