修复 BUG:修复可能存在的数据库时差八小时的问题

This commit is contained in:
lishangbu committed 2018-11-15 13:06:43 +08:00
1 parent 803b688d85
commit da9a24f9ec
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ spring:
driver-class-name: com.mysql.jdbc.Driver
username: root
password: lengleng
url: jdbc:pigx-mysql://mysql:3306/pigx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
url: jdbc:pigx-mysql://mysql:3306/pigx?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
```
### 四、配置本地hosts