From 9e4c9e02ff8ce511e88dd9baec8d607df70a7747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AD=E5=A6=82?= <8775@163.com> Date: Thu, 26 Dec 2024 15:30:33 +0800 Subject: [PATCH] 5.0 --- sop-gateway/src/main/resources/application-dev.properties | 1 + sop-gateway/src/main/resources/application-test.properties | 1 + sop-gateway/src/main/resources/application.properties | 2 +- .../website-boot/src/main/resources/application-dev.properties | 1 + .../website-boot/src/main/resources/application-test.properties | 1 + .../website-boot/src/main/resources/application.properties | 2 +- 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sop-gateway/src/main/resources/application-dev.properties b/sop-gateway/src/main/resources/application-dev.properties index 0b2b9000..04375538 100755 --- a/sop-gateway/src/main/resources/application-dev.properties +++ b/sop-gateway/src/main/resources/application-dev.properties @@ -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 diff --git a/sop-gateway/src/main/resources/application-test.properties b/sop-gateway/src/main/resources/application-test.properties index 2d709225..460b783c 100755 --- a/sop-gateway/src/main/resources/application-test.properties +++ b/sop-gateway/src/main/resources/application-test.properties @@ -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 diff --git a/sop-gateway/src/main/resources/application.properties b/sop-gateway/src/main/resources/application.properties index 9d29759d..11a182c7 100755 --- a/sop-gateway/src/main/resources/application.properties +++ b/sop-gateway/src/main/resources/application.properties @@ -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 diff --git a/sop-website/sop-website-backend/website-boot/src/main/resources/application-dev.properties b/sop-website/sop-website-backend/website-boot/src/main/resources/application-dev.properties index d22b1025..5ebd88fb 100755 --- a/sop-website/sop-website-backend/website-boot/src/main/resources/application-dev.properties +++ b/sop-website/sop-website-backend/website-boot/src/main/resources/application-dev.properties @@ -2,5 +2,6 @@ mybatis.print-sql=true # mysql config mysql.host=127.0.0.1:3306 +mysql.db=sop mysql.username=root mysql.password=root diff --git a/sop-website/sop-website-backend/website-boot/src/main/resources/application-test.properties b/sop-website/sop-website-backend/website-boot/src/main/resources/application-test.properties index d22b1025..5ebd88fb 100755 --- a/sop-website/sop-website-backend/website-boot/src/main/resources/application-test.properties +++ b/sop-website/sop-website-backend/website-boot/src/main/resources/application-test.properties @@ -2,5 +2,6 @@ mybatis.print-sql=true # mysql config mysql.host=127.0.0.1:3306 +mysql.db=sop mysql.username=root mysql.password=root diff --git a/sop-website/sop-website-backend/website-boot/src/main/resources/application.properties b/sop-website/sop-website-backend/website-boot/src/main/resources/application.properties index 14860bff..3827328b 100755 --- a/sop-website/sop-website-backend/website-boot/src/main/resources/application.properties +++ b/sop-website/sop-website-backend/website-boot/src/main/resources/application.properties @@ -5,9 +5,9 @@ spring.application.name=sop-website ####### 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