rwadurian/backend/services/trading-service/prisma
hailin 481a355d72 feat(trading): add buy function control switch with admin management
- Add buyEnabled field to TradingConfig in trading-service with migration
- Add API endpoints for get/set buy enabled status in admin controller
- Add buy function switch card in mining-admin-web trading page
- Implement buyEnabledProvider in mining-app with 2-minute cache
- Show "待开启" when buy function is disabled in trading page
- Add real-time asset value refresh in asset page (1-second updates)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 08:56:35 -08:00
..
migrations feat(trading): add buy function control switch with admin management 2026-01-17 08:56:35 -08:00
schema.prisma feat(trading): add buy function control switch with admin management 2026-01-17 08:56:35 -08:00
seed.ts feat: split share pool into A (100亿) and B (200万) accounts 2026-01-15 05:55:52 -08:00