NODE_ENV=development
PORT=3001
LOG_LEVEL=info

DATABASE_URL=postgresql://pac:pac@localhost:5432/pac?schema=public
REDIS_URL=redis://localhost:6379

JWT_SECRET=dev-secret-change-me-in-production-min-32-chars
JWT_REFRESH_SECRET=dev-refresh-secret-change-me-in-prod-min-32
JWT_EXPIRES_IN=2h
JWT_REFRESH_EXPIRES_IN=7d

# AI — DeepSeek 直连(国内 endpoint,合规);本地开发留空时跑会抛 Missing API key,设置 DEEPSEEK_API_KEY 即可
DEEPSEEK_API_KEY=
DEEPSEEK_BASE_URL=https://api.deepseek.com
AI_DEFAULT_MODEL=deepseek-v4-pro
AI_REQUEST_TIMEOUT_SEC=60

CORS_ORIGINS=http://localhost:3000
EXCHANGE_CODE_TTL_SECONDS=60
