chore(config): 简化Redis配置结构

- 移除了多余的data层级嵌套
- 统一了Redis连接配置格式- 保留了必要的连接参数(host、port、password、database)
- 清理了注释掉的重复配置项
李一帆 2025-09-28 16:57:15 +08:00
parent 60ebb6c46a
commit 35ae3feea6
1 changed files with 4 additions and 10 deletions

View File

@ -43,17 +43,11 @@ spring:
dialect: org.hibernate.dialect.DmDialect dialect: org.hibernate.dialect.DmDialect
# Redis # Redis
data: redis:
redis: host: 10.0.41.112
host: 10.0.41.112
port: 6379
password: 1234567a
database: 4
# host: 10.0.41.112
# password: 1234567a
# host: 127.0.0.1
# password:
port: 6379 port: 6379
password: 1234567a
database: 4
servlet: servlet:
multipart: multipart:
max-file-size: 1100MB max-file-size: 1100MB