feat(config): 更新 Redis 配置参数

- 启用 Redis 端口配置,默认值为6379
- 设置 Redis 数据库索引为 0
- 注释掉密码配置项,建议生产环境开启
- 调整配置文件结构以提高可读性
This commit is contained in:
2025-11-12 20:47:37 +08:00
parent 64704b9ab4
commit c94aa3c898

View File

@@ -33,8 +33,8 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis:
host: redis # 地址
# port: 6379 # 端口
# database: 10 # 数据库索引
port: 6379 # 端口
database: 0 # 数据库索引
# password: 123456 # 密码,建议生产环境开启