VIP权益及订阅包
请求URL:
/getVipPerks
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | 是 | string | 应用包appId |
| udid | 是 | string | 设备ID |
| plan | 否 | uint8 | 1-Joyce测试新方案 |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": {
"plus": {
"benefitsList": {
"id": 3,
"role": 4,
"chatDiscount": 0.8,
"lowerChatPrice": 4,
"createImageDiscount": 0.8,
"lowerCreateImagePrice": 3,
"characterMemory": 1800,
"unlockAllCharacters": 1,
"unlockAllModels": 1,
"circularCheckIn": 1,
"characterThoughts": 2,
"sceneTransition": 1,
"noAds": 1,
"perspective": 0,
"literaryStyle": 0
},
"packagesList": [
{
"id": 35,
"price": 699,
"originPrice": 999,
"productId": "com.coupleu.month.plus",
"isShow": 1,
"role": 4,
"type": 0,
"createdAt": 1764711509,
"updatedAt": 1765491891,
"subscriptionPeriod": "Monthly",
"averagePriceWeek": 163,
"averagePriceDay": 23,
"purchaseCount": 1
},
{
"id": 38,
"price": 2499,
"originPrice": 2499,
"productId": "com.coupleu.season.plus",
"isShow": 1,
"role": 4,
"type": 0,
"createdAt": 1764711542,
"updatedAt": 1765491892,
"subscriptionPeriod": "Quarterly",
"averagePriceWeek": 194,
"averagePriceDay": 28,
"purchaseCount": 0
},
{
"id": 39,
"price": 9999,
"originPrice": 9999,
"productId": "com.coupleu.year.plus",
"isShow": 1,
"role": 4,
"type": 1,
"createdAt": 1764711547,
"updatedAt": 1765491893,
"subscriptionPeriod": "Yearly",
"averagePriceWeek": 192,
"averagePriceDay": 27,
"purchaseCount": 0
}
]
},
"ultra": {
"benefitsList": {
"id": 4,
"role": 5,
"chatDiscount": 0.6,
"lowerChatPrice": 3,
"createImageDiscount": 0.6,
"lowerCreateImagePrice": 2,
"characterMemory": 2500,
"unlockAllCharacters": 1,
"unlockAllModels": 1,
"circularCheckIn": 1,
"characterThoughts": 2,
"sceneTransition": 1,
"noAds": 1,
"perspective": 0,
"literaryStyle": 0
},
"packagesList": [
{
"id": 40,
"price": 999,
"originPrice": 1799,
"productId": "com.coupleu.month.ultra",
"isShow": 1,
"role": 5,
"type": 0,
"createdAt": 1764711556,
"updatedAt": 1765491893,
"subscriptionPeriod": "Monthly",
"averagePriceWeek": 233,
"averagePriceDay": 33,
"purchaseCount": 0
},
{
"id": 41,
"price": 4999,
"originPrice": 4999,
"productId": "com.coupleu.season.ultra",
"isShow": 1,
"role": 5,
"type": 0,
"createdAt": 1764711564,
"updatedAt": 1765491894,
"subscriptionPeriod": "Quarterly",
"averagePriceWeek": 389,
"averagePriceDay": 56,
"purchaseCount": 0
},
{
"id": 42,
"price": 14999,
"originPrice": 14999,
"productId": "com.coupleu.year.ultra",
"isShow": 1,
"role": 5,
"type": 1,
"createdAt": 1764711572,
"updatedAt": 1765491894,
"subscriptionPeriod": "Yearly",
"averagePriceWeek": 288,
"averagePriceDay": 41,
"purchaseCount": 0
}
]
},
"vip": {
"benefitsList": {
"id": 2,
"role": 3,
"chatDiscount": 1,
"lowerChatPrice": 5,
"createImageDiscount": 1,
"lowerCreateImagePrice": 4,
"characterMemory": 1200,
"unlockAllCharacters": 1,
"unlockAllModels": 1,
"circularCheckIn": 1,
"characterThoughts": 1,
"sceneTransition": 0,
"noAds": 1
},
"packagesList": null
}
}
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | array | 数据列表 |
| -vip | json | vip |
| --benefitsList | json | 权益 |
| ---id | int | id |
| ---role | int | 对应角色 0-普通用户\n3-VIP (付费用户)\n4-VIP Plus\n5-VIP Ultra\n6-测试用户\n7-审核员用户 |
| ---chatDiscount | float | 聊天折扣 |
| ---lowerChatPrice | int | 聊天价格 |
| ---createImageDiscount | float | 生图折扣 |
| ---lowerCreateImagePrice | int | 生图价格 |
| ---characterMemory | int | 角色记忆 |
| ---unlockAllCharacters | int | 解锁全角色 1:是(默认) 0:否 |
| ---unlockAllModels | int | 解锁全模型 1:是(默认) 0:否 |
| ---circularCheckIn | int | 循环签到 1:是(默认) 0:否 |
| ---characterThoughts | int | 思维链 0:不可用 1:可开启(默认) 2:可开启&可展开 |
| ---sceneTransition | int | 可切换场景 1:是(默认) 0:否 |
| ---perspective | int | 可切换视角 |
| ---literaryStyle | int | 可切换文风 |
| ---noAds | int | 无广告 1:是(默认) 0:否 |
| --packagesList | array | 订阅包 |
| ---id | int | 套餐ID |
| ---price | int | 套餐价格(单位:美分) |
| ---productId | string | 产品ID |
| ---originPrice | int | 原价 |
| ---isShow | int | 是否展示 1:是(默认) 0:否 |
| ---role | int | 对应角色 0-普通用户\n3-VIP (付费用户)\n4-VIP Plus\n5-VIP Ultra\n6-测试用户\n7-审核员用户 |
| ---type | int | 类型 1:推荐 0:默认 |
| ---averagePriceWeek | float32 | 每周均价 |
| ---averagePriceDay | float32 | 每天均价 |
| ---subscriptionPeriod | string | 订阅周期 |
| ---purchaseCount | int | 已购买次数 |
| -plus | json | vip-plus |
| -ultra | json | vip-ultra |
备注
code:
200=成功
1040=>重复反馈