From 7efcf03022bef424e5e79949df164f9521998afc Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 29 Aug 2024 14:27:47 +0800
Subject: [PATCH] test和数据库连接
---
src/main/resources/application-dev.yml | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 083a895..2f8c92d 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -19,16 +19,21 @@
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://120.27.238.55:3406/db_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+# username: db_wdf
+# password: db_wdf123!@#123
+# driver-class-name: com.mysql.cj.jdbc.Driver
+# url: jdbc:mysql://103.234.75.48:3306/db_wdf?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&rewriteBatchedStatements=true&allowMultiQueries=true&serverTimezone=GMT%2b8
+
redis:
# Redis数据库索引(默认为 0)
database: 4
# Redis服务器地址
- host: 120.27.238.55
+ host: 103.234.75.48
# Redis服务器连接端口
- port: 6479
+ port: 6379
# Redis 密码
- password: d3y6dsdl;f.327
+ password: 1234!@#$!QAZ
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -42,10 +47,10 @@
# 连接超时时间(毫秒)
timeout: 5000
rabbitmq:
- host: 120.27.238.55
+ host: 103.234.75.48
port: 5672
- username: ct_rabbit
- password: 123456
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
pay:
@@ -63,4 +68,9 @@
mchId: 1641389321
mchKey: wqri51aCfiG31o4IcdX3dW12qnX3u4hp
keyPath: classpath:cert/apiclient_cert.p12
- noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack
\ No newline at end of file
+ noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack
+
+static:
+ resource:
+ url: http://120.27.238.55:8187/uploadeFile/
+ path: /home/javaweb/webresource/gfa/h5/uploadeFile/
\ No newline at end of file
--
Gitblit v1.9.1