it0/packages/services/billing-service
hailin 60cf49432e feat(billing): add CNY overage rate field and auto-detect currency from locale
- Add overage_rate_fen_per_m_token_cny column (migration 006)
- Plan entity and seed updated with CNY overage rates (Pro ¥58, Enterprise ¥36)
- upsertSeedPlans now updates existing plans (not insert-only)
- Plan controller exposes overageRateCnyPerMToken
- Frontend: currency auto-selects from i18n locale (zh→CNY, en→USD)
- Frontend: Intl.NumberFormat for proper currency formatting
- Currency toggle redesigned as pill selector

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 02:18:25 -08:00
..
src feat(billing): add CNY overage rate field and auto-detect currency from locale 2026-03-07 02:18:25 -08:00
package.json fix(billing-service): resolve all TypeScript compilation errors 2026-03-03 23:00:27 -08:00
tsconfig.json fix(billing-service): add tsconfig with workspace path aliases 2026-03-03 23:32:34 -08:00