feat: 支持 Redis

This commit is contained in:
imsyy
2024-12-06 18:15:44 +08:00
parent 161b6b612b
commit 51f27af0d6
16 changed files with 296 additions and 120 deletions

View File

@@ -11,6 +11,11 @@ ALLOWED_HOST=""
# ROBOT
DISALLOW_ROBOT=true
# Redis
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379
REDIS_PASSWORD=""
# 缓存时长( 秒
CACHE_TTL=3600