feat(payment): sync plans and add coins rules

This commit is contained in:
2026-06-29 14:11:50 +08:00
parent 274fe87ced
commit e372d58b4c
24 changed files with 1099 additions and 224 deletions
@@ -5,40 +5,40 @@
"data": {
"plans": [
{
"plan_id": "vip_monthly",
"plan_name": "月度会员",
"order_type": "vip_monthly",
"amount_cents": 1999,
"original_amount_cents": 2499,
"daily_price_cents": 66,
"currency": "USD",
"pricing_tier": "T1",
"vip_days": 30,
"dol_amount": null
"planId": "vip_monthly",
"planName": "VIP Monthly",
"orderType": "vip_monthly",
"vipDays": 30,
"dolAmount": null,
"creditBalance": 3000,
"amountCents": 1999,
"originalAmountCents": 2499,
"dailyPriceCents": 66,
"currency": "USD"
},
{
"plan_id": "vip_quarterly",
"plan_name": "季度会员",
"order_type": "vip_quarterly",
"amount_cents": 4999,
"original_amount_cents": 5999,
"daily_price_cents": 55,
"currency": "USD",
"pricing_tier": "T1",
"vip_days": 90,
"dol_amount": null
"planId": "vip_quarterly",
"planName": "VIP Quarterly",
"orderType": "vip_quarterly",
"vipDays": 90,
"dolAmount": null,
"creditBalance": 9000,
"amountCents": 4999,
"originalAmountCents": 5999,
"dailyPriceCents": 55,
"currency": "USD"
},
{
"plan_id": "vip_yearly",
"plan_name": "年度会员",
"order_type": "vip_yearly",
"amount_cents": 17999,
"original_amount_cents": 19999,
"daily_price_cents": 49,
"currency": "USD",
"pricing_tier": "T1",
"vip_days": 365,
"dol_amount": null
"planId": "vip_annual",
"planName": "VIP Annual",
"orderType": "vip_annual",
"vipDays": 365,
"dolAmount": null,
"creditBalance": 36000,
"amountCents": 17999,
"originalAmountCents": 19999,
"dailyPriceCents": 49,
"currency": "USD"
}
]
}