fix: VIP session-status stale token; add missing API routes (popups, jiahao, update-config, /api/version)

This commit is contained in:
Stevenma
2026-05-10 17:28:14 +08:00
parent e711e1329d
commit 111e61431b
2151 changed files with 900047 additions and 109 deletions

20
.env Normal file
View File

@@ -0,0 +1,20 @@
# 数据库连接
DATABASE_URL="postgresql://maqt:maqt123456@localhost:5432/maqt?schema=public"
# JWT 密钥
JWT_SECRET="maqt-jwt-secret-key-2026-change-in-production"
# JWT 过期时间
JWT_EXPIRES_IN="7d"
# 数据加密密钥32字节
ENCRYPTION_KEY="maqt-encryption-key-32bytes!"
# 服务端口
PORT=3001
# 环境
NODE_ENV="development"
# VIP 卡密批次密钥
BATCH_SECRET="maqt-batch-secret-2026"