rwadurian/backend/services/mining-admin-service/src/api/controllers
hailin cfbf1b21f3 feat(dashboard): add detailed contribution breakdown by category
Backend (contribution-service):
- Add getDetailedContributionStats() to repository
- Add getUnallocatedByLevelTier/BonusTier() to repository
- Extend stats API with level/bonus breakdown by tier
- Add getTotalTrees() to synced-data repository

Backend (mining-admin-service):
- Add detailed contribution stats calculation
- Calculate theoretical vs actual values per category
- Return level/bonus breakdown with unlocked/pending amounts

Frontend (mining-admin-web):
- Add ContributionBreakdown component showing:
  - Personal (70%), Operation (12%), Province (1%), City (2%)
  - Level contribution (7.5%) by tier: 1-5, 6-10, 11-15
  - Bonus contribution (7.5%) by tier: T1, T2, T3
- Update DashboardStats type definition
- Integrate breakdown component into dashboard page

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 01:43:37 -08:00
..
audit.controller.ts fix(mining-admin): fix audit logs API path and response format 2026-01-14 02:18:53 -08:00
auth.controller.ts feat(mining-admin-service): 添加/auth/profile接口 2026-01-11 01:01:49 -08:00
config.controller.ts fix(mining-admin-service): move mining routes before :category/:key parameter route 2026-01-14 04:57:25 -08:00
dashboard.controller.ts feat(dashboard): add detailed contribution breakdown by category 2026-01-15 01:43:37 -08:00
health.controller.ts feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
reports.controller.ts feat(mining-admin): add /reports/daily endpoint for frontend reports page 2026-01-14 02:10:47 -08:00
system-accounts.controller.ts feat(mining-admin-service): 添加CDC同步和完整用户管理API 2026-01-10 20:36:21 -08:00
users.controller.ts feat(mining-admin): 添加用户详情页缺失的 API 端点 2026-01-11 20:53:18 -08:00