Skip to content

Commit 6aa09cc

Browse files
author
Xiong Neng
committed
完成springboot-mybatis升级重构
1 parent c84c915 commit 6aa09cc

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

springboot-mybatis/src/main/resources/application.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ logging:
3434
spring:
3535
profiles: dev
3636
datasource:
37-
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
37+
url: jdbc:mysql://127.0.0.1:3306/pos?serverTimezone=UTC&useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
3838
username: root
3939
password: 123456
4040

@@ -43,24 +43,4 @@ logging:
4343
ROOT: INFO
4444
com:
4545
xncoding: DEBUG
46-
file: E:/logs/app.log
47-
48-
---
49-
50-
#####################################################################
51-
######################## 测试环境profile ##########################
52-
#####################################################################
53-
54-
spring:
55-
profiles: test
56-
datasource:
57-
url: jdbc:mysql://127.0.0.1:3306/pos?useSSL=false&autoReconnect=true&tinyInt1isBit=false&useUnicode=true&characterEncoding=utf8
58-
username: root
59-
password: 123456
60-
61-
logging:
62-
level:
63-
ROOT: INFO
64-
com:
65-
xncoding: DEBUG
66-
file: /var/logs/app.log
46+
file: D:/logs/app.log

0 commit comments

Comments
 (0)