feat(subscription): load vip and credit plans from api
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"code": 200,
|
||||
"message": "success",
|
||||
"success": true,
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user