feat: 添加 Redis TLS 支持

- 在 .env.example 中新增 REDIS_ENABLE_TLS 配置项
- 更新 config.example.js 以支持 TLS 连接
- 修改 RedisClient 类以根据配置启用或禁用 TLS
This commit is contained in:
sunday
2025-07-16 02:52:21 +08:00
parent ec9847fa05
commit 36bf69adbb
4 changed files with 49 additions and 450 deletions

View File

@@ -16,6 +16,7 @@ REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_ENABLE_TLS=
# 🎯 Claude API 配置
CLAUDE_API_URL=https://api.anthropic.com/v1/messages