update pay ui

This commit is contained in:
2025-12-15 08:24:16 +08:00
parent da410b7914
commit c846436074
2 changed files with 4 additions and 4 deletions

2
app.py
View File

@@ -189,7 +189,7 @@ print("✅ ProxyFix 已配置Flask 将信任反向代理头X-Forwarded-Pro
# ============ Redis 连接配置(支持环境变量覆盖) ============
_REDIS_HOST = os.environ.get('REDIS_HOST', 'localhost')
_REDIS_PORT = int(os.environ.get('REDIS_PORT', 6379))
_REDIS_PASSWORD = os.environ.get('REDIS_PASSWORD', 'VF_Redis_Secure_2024!') # Redis 密码(安全加固)
_REDIS_PASSWORD = os.environ.get('REDIS_PASSWORD', 'VF_Redis_2024') # Redis 密码(安全加固)
redis_client = redis.Redis(host=_REDIS_HOST, port=_REDIS_PORT, db=0, password=_REDIS_PASSWORD, decode_responses=True)
print(f"📦 Redis 配置: {_REDIS_HOST}:{_REDIS_PORT}/db=0 (已启用密码认证)")