Commit Graph

5 Commits

Author SHA1 Message Date
richarjiang
3a1b4d22bf feat: 支持关卡配置分享 2026-04-06 17:32:20 +08:00
richarjiang
9ab78555cb feat: 支持登录、个人信息存储 2026-04-05 13:38:12 +08:00
richarjiang
46368b8c89 feat(wechat-game): add level list API endpoints
Add CRUD endpoints for game levels with level field in response:
- GET /v1/wechat-game/levels - list all levels ordered by sort_order
- GET /v1/wechat-game/levels/:id - get single level by ID

New files:
- Level entity mapping to levels table
- LevelRepository with ordered query support
- LevelResponseDto with level field (1-based index from sort_order)
2026-03-15 15:52:51 +08:00
richarjiang
ed1b5455a2 chore: add deployment configuration for PM2 and production environment
- Add deploy.sh script for automated deployment via rsync
- Add ecosystem.config.js for PM2 process management (2 instances)
- Add .env.production.example as production env template
- Update config.module.ts to support .env.production file
- Add 'pnpm run deploy' script to package.json
2026-03-15 14:27:48 +08:00
richarjiang
6413d4f34c init 2026-03-15 11:35:39 +08:00