From c94aa3c898c2980a8e794eac508069d69659ad30 Mon Sep 17 00:00:00 2001 From: yang chen Date: Wed, 12 Nov 2025 20:47:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=9B=B4=E6=96=B0=20Redis=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 启用 Redis 端口配置,默认值为6379 - 设置 Redis 数据库索引为 0 - 注释掉密码配置项,建议生产环境开启 - 调整配置文件结构以提高可读性 --- jeelowcode-admin/src/main/resources/application-office.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jeelowcode-admin/src/main/resources/application-office.yaml b/jeelowcode-admin/src/main/resources/application-office.yaml index 0e07093..48656e5 100644 --- a/jeelowcode-admin/src/main/resources/application-office.yaml +++ b/jeelowcode-admin/src/main/resources/application-office.yaml @@ -33,8 +33,8 @@ spring: # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 redis: host: redis # 地址 - # port: 6379 # 端口 - # database: 10 # 数据库索引 + port: 6379 # 端口 + database: 0 # 数据库索引 # password: 123456 # 密码,建议生产环境开启