From 167fc0a15c84e7bbf22aa35f0b9078911c57aa26 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 07 Apr 2023 15:46:11 +0800
Subject: [PATCH] 在mq之前,先更新订单状态
---
src/main/resources/application-dev.yml | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 8869d29..2d0cf1a 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -15,20 +15,24 @@
datasource:
# 数据源-1,名称为 base
base:
- username: ct_test
- password: 123456
+ username: db_mall_hongloumeng
+ password: hongloumeng123!@#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
+ url: jdbc:mysql://47.111.90.145:3306/db_mall_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true&allowMultiQueries=true
+# 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
redis:
# Redis数据库索引(默认为 0)
- database: 3
+ database: 8
# Redis服务器地址
- host: 120.27.238.55
+ host: 121.37.162.173
# Redis服务器连接端口
port: 6379
# Redis 密码
- password: xcong123
+ password: d32ncxe@i3#!dV
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -42,10 +46,10 @@
# 连接超时时间(毫秒)
timeout: 5000
rabbitmq:
- host: 120.27.238.55
+ host: 47.111.90.145
port: 5672
- username: ct_rabbit
- password: 123456
+ username: zj_mall
+ password: zj_mall123
publisher-confirm-type: correlated
pay:
--
Gitblit v1.9.1