时区
This commit is contained in:
@@ -42,27 +42,27 @@ spring:
|
||||
test-on-return: false
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/ruoyi-vue-pro?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/ruoyi-vue-pro?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
username: root
|
||||
password: root
|
||||
slave: # 模拟从库,可根据自己需要修改
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/ruoyi-vue-pro?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/ruoyi-vue-pro?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
username: root
|
||||
password: root
|
||||
bxg: # 农场数据源
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/bxg?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/bxg?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
username: root
|
||||
password: root
|
||||
erp: # 进销存
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/erp?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/erp?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
username: root
|
||||
password: root
|
||||
farm: # 农场数据源
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/zsw-farm?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:p6spy:mysql://192.168.10.250:3306/zsw-farm?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
|
||||
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||
username: root
|
||||
password: root
|
||||
|
||||
@@ -157,3 +157,7 @@ wxcp:
|
||||
wxma:
|
||||
app_id: wx4c3f7b2dd907f34e
|
||||
app_secret: b2496a7a77483f819c6074841250119b
|
||||
|
||||
spring:
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
|
||||
Reference in New Issue
Block a user