You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dark
5e4efc2a0e
feat: Phase 3 billing system — quota management, usage records, stats
Backend:
- Add quota/usage/stats API types to ai.api
- Add 4 new routes: GET /ai/quota/records (user), GET /ai/quotas,
POST /ai/quota/recharge, GET /ai/stats (admin)
- Add model methods: AIUserQuotaFindList, AIUserQuotaRecharge,
AIUsageRecordFindList, ModelStats, DailyStats, TotalStats
- Implement quota list, recharge, usage records, stats logic
- Add Casbin policies for new endpoints
- Add menu seeds: 用量统计, 额度管理
Frontend:
- Add quota/usage/stats TypeScript types and API client methods
- Create AIUsagePage with stats cards + usage records table
- Create AIQuotaManagementPage with quota table + recharge modal
- Register routes, page titles, sidebar icons (BarChart3, Wallet)
|
1 month ago |
| .. |
|
pc
|
feat: Phase 3 billing system — quota management, usage records, stats
|
1 month ago |
|
llms.txt
|
Initial commit: Add project structure and .gitignore
|
2 months ago |