From 516d0d66f35129ce9e7f290a25e33b5e11cb4e1b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 06 Apr 2022 11:11:01 +0800 Subject: [PATCH] fix --- src/main/resources/application-prod.yml | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 5361ccf..be7f21d 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -15,20 +15,20 @@ datasource: # 数据源-1,名称为 base base: - username: ct_test - password: 123456 + username: sys_dapp + password: sys_dapp!@#123 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://120.27.238.55:3306/sys-dapp?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 + url: jdbc:mysql://127.0.0.1:3306/sys_dapp?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b9 redis: # Redis数据库索引(默认为 0) database: 0 # Redis服务器地址 - host: 120.27.238.55 + host: 127.0.0.1 # Redis服务器连接端口 port: 6379 # Redis 密码 - password: xcong123 + password: dapp!@#123 lettuce: pool: # 连接池中的最小空闲连接 @@ -40,4 +40,8 @@ # 连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: 10000 # 连接超时时间(毫秒) - timeout: 5000 \ No newline at end of file + timeout: 5000 + + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+9 -- Gitblit v1.9.1