代码优化

This commit is contained in:
zc
2026-03-09 20:33:47 +08:00
parent df9479f870
commit fb05360c5e
7 changed files with 139 additions and 19 deletions

View File

@@ -48,12 +48,12 @@ spring.data:
## Redis 配置(单机模式)
redis:
# 地址
# host: ${REDIS_HOST:192.168.2.30}
host: ${REDIS_HOST:127.0.0.1}
host: ${REDIS_HOST:192.168.2.30}
# host: ${REDIS_HOST:127.0.0.1}
# 端口(默认 6379
port: ${REDIS_PORT:6379}
# 密码(未设置密码时请注释掉)
# password: ${REDIS_PWD:redis2025}
password: ${REDIS_PWD:redis2025}
# 数据库索引
database: ${REDIS_DB:1}
# 连接超时时间