From aeb0696f457ca85b62d15ab6586c5779cf5cd97b Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 31 Jul 2026 16:56:21 +0800
Subject: [PATCH] feat(firewall): 添加访问日志功能
---
src/main/resources/application-prod.yml | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index c540f3d..b036af2 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -8,6 +8,7 @@
max-lifetime: 1800000
max-pool-size: 15
min-idle: 5
+ idle-timeout: 300000
connection-test-query: select 1
pool-name: FebsHikariCP
# 配置默认数据源
@@ -18,7 +19,7 @@
username: db_e2
password: db_e20806123!@#
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/db_e2?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+ url: jdbc:mysql://localhost:3306/db_e2?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
redis:
# Redis数据库索引(默认为 0)
@@ -44,8 +45,8 @@
rabbitmq:
host: 127.0.0.1
port: 5672
- username: e20210816
- password: e20210816
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
pay:
@@ -61,8 +62,8 @@
xcx:
wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
- xcx_appid: wxad2fdb2fcad10fb2
- xcx_secret: 9bb58d655bff419feec3a6d948ca8b8d
+ xcx_appid: wx526879ea8589ba00
+ xcx_secret: a4aed487b1b438075776151d0312b36a
debug: false
wecharPaynotifyUrl: http://api.blnka.cn/api/xcxPay/wxpayCallback
wecharRechargePaynotifyUrl: http://api.blnka.cn/api/xcxPay/rechargeCallBack
@@ -75,8 +76,8 @@
static:
resource:
- url: http://file.blnka.cn/file/
- path: /mnt/sdc/webresource/file/
+ url: https://polypepprotein.com/productImg/
+ path: /home/javaweb/webresource/ds/productImg/
system:
job: true
\ No newline at end of file
--
Gitblit v1.9.1