Commit Graph
2 Commits
Author SHA1 Message Date
CaIon cf06cd72be feat(custom): recharge bonus pay-1-get-2, topup page & docs & about promo display, Chinese-first i18n
- payment_setting.amount_bonus: uniform top-up bonus (1 = pay ¥1 credit ¥2),
  applied to credited quota in model/topupQuotaFromAmount and
  controller/getTopUpQuota (epay/waffo/pancake/manual paths), exposed via
  /api/user/topup/info; regression test TestTopUpQuotaAppliesAmountBonus
- wallet recharge card: bonus banner, credited amount per preset,
  custom-amount credited line, credited row in payment confirm dialog;
  hardcoded Chinese copy (支付/到账/最低充值)
- list locale defaults: Chinese-first, browser locale no longer auto-selects
  English; new localStorage key resets stale language caches
- /docs top-up section: bonus notice box
- README: record the recharge-bonus update in 'About This Custom Fork'
2026-09-24 15:47:06 +08:00
CaIon 14a9acd368 feat(custom): CNY native billing, daily check-in button, subscription plans page, usage docs and promo banner
Based on QuantumNous/new-api v1.0.0-rc.36 (shallow history squashed).

- CNY quota display mode: RMB-denominated top-up and crediting across Epay/Waffo channels
- New CheckinButton in both authenticated and public headers (Turnstile supported)
- New /subscribe page with public plan snapshot, Alipay/balance payment, auto group upgrade/reset
- New /docs 12-section beginner guide with anchor navigation
- New home PromoBanner linking to /docs; i18n synced (en/zh/zh-TW/fr/ja/ru/vi)
- README: document custom features, live demo https://ai.88531.cn
2026-09-23 16:28:52 +08:00