Skip to content

Commit 1f6b0e7

Browse files
committed
更新properties配置
Signed-off-by: ouyangyi <1347401764@qq.com>
1 parent a5ca0e1 commit 1f6b0e7

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
spring.datasource.url=jdbc:mysql://118.190.147.232:3306/fud?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
2-
spring.datasource.username=root
3-
spring.datasource.password=Jerry1511#
1+
spring.datasource.url="???????URL"
2+
spring.datasource.username="??????????"
3+
spring.datasource.password="?????????"
44
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
55

66
filePath=/usr/test/
77
backupPath=/usr/test/backup/
88

9-
server.ssl.key-store=classpath:ssl/4506395_www.ouyangyi.info.pfx
10-
server.ssl.key-store-password=9ioHKSps
9+
server.ssl.key-store="HTTPs?????"
10+
server.ssl.key-store-password="HTTPs???"
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
#spring.datasource.url=jdbc:mysql://localhost:3306/fud?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
2-
#spring.datasource.username=root
3-
#spring.datasource.password=root
4-
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
1+
spring.datasource.url=jdbc:mysql://localhost:3306/fud?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
2+
spring.datasource.username=root
3+
spring.datasource.password=root
4+
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
55

66
filePath=/Users/ouyangyi/Downloads/test/
77
backupPath=/Users/ouyangyi/Downloads/test/backup/
8-
9-
spring.datasource.url=jdbc:mysql://118.190.147.232:3306/fud?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
10-
spring.datasource.username=root
11-
spring.datasource.password=Jerry1511#
12-
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

src/main/resources/application.properties

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
spring.servlet.multipart.max-request-size=100MB
22
spring.servlet.multipart.max-file-size=100MB
33

4-
spring.profiles.active=product
4+
spring.profiles.active=test
55

6-
7-
server.port=443
6+
server.port=8080
87
server.tomcat.uri-encoding=utf-8
98

109

@@ -32,5 +31,3 @@ server.servlet.session.timeout=PT1S
3231

3332
spring.mvc.static-path-pattern=/**
3433
spring.resources.static-locations=classpath:/static/,file:/usr/test/real/
35-
36-

0 commit comments

Comments
 (0)