chore: mqsrv backend

This commit is contained in:
Chen Gu
2026-05-09 00:52:04 +08:00
commit b84f111e8f
21 changed files with 4593 additions and 0 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"