From 6c35e8e398ac205ead5fa9225b614ae47860824a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 03 Apr 2023 01:07:08 +0800
Subject: [PATCH] 设定时区,这样创建的时间就不会出现问题
---
src/main/resources/application-dev.yml | 36 ++++++++++++++++++++++--------------
1 files changed, 22 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 13e6fca..142fa50 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -15,24 +15,28 @@
datasource:
# 数据源-1,名称为 base
base:
- username: ct_test
- password: 123456
+ username: db_mall_coin
+ password: db_mall_coin!@#123
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://120.27.238.55:3306/db_amz?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
-# username: db_mall
-# password: mall!@#123
-# driver-class-name: com.mysql.cj.jdbc.Driver
-# url: jdbc:mysql://47.111.90.145:3306/db_mall?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
-
+ url: jdbc:mysql://154.91.195.148:3306/db_mall_coin?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+# redis:
+# # Redis数据库索引(默认为 0)
+# database: 0
+# # Redis服务器地址
+# host: 127.0.0.1
+# # Redis服务器连接端口
+# port: 6379
+# # Redis 密码
+# # password: dapp!@#123
redis:
# Redis数据库索引(默认为 0)
- database: 3
+ database: 0
# Redis服务器地址
host: 120.27.238.55
# Redis服务器连接端口
- port: 6379
+ port: 6479
# Redis 密码
- password: xcong123
+ password: d3y6dsdl;f.327
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -46,10 +50,10 @@
# 连接超时时间(毫秒)
timeout: 5000
rabbitmq:
- host: 120.27.238.55
+ host: 154.91.195.148
port: 5672
- username: ct_rabbit
- password: 123456
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
pay:
@@ -62,3 +66,7 @@
# 回调地址
noticeUrl: http://120.27.238.55:8801/api/pay/aliCallBack
domain: https://openapi.alipaydev.com/gateway.do
+
+system:
+ chain-listener: false
+# chain-listener: true
\ No newline at end of file
--
Gitblit v1.9.1