VIP权益及订阅包

请求URL:

  • /getVipPerks

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string 应用包appId
udid string 设备ID

返回示例

{
  "code": 200,
  "msg": "SUCCESS",
  "data": {
    "plus": {
      "benefitsList": {
        "id": 3,
        "role": 4,
        "chatDiscount": 0.8,
        "lowerChatPrice": 4,
        "createImageDiscount": 1,
        "lowerCreateImagePrice": 4,
        "characterMemory": 600,
        "unlockAllCharacters": 1,
        "unlockAllModels": 1,
        "circularCheckIn": 1,
        "characterThoughts": 2,
        "sceneTransition": 1,
        "noAds": 1
      },
      "packagesList": [
        {
          "id": 35,
          "price": 599,
          "originPrice": 599,
          "productId": "com.coupleu.month.plus",
          "isShow": 1,
          "role": 4,
          "type": 0,
          "createdAt": 1764711509,
          "updatedAt": 1764727415
        },
        {
          "id": 38,
          "price": 999,
          "originPrice": 999,
          "productId": "com.coupleu.season.plus",
          "isShow": 1,
          "role": 4,
          "type": 0,
          "createdAt": 1764711542,
          "updatedAt": 1764727416
        },
        {
          "id": 39,
          "price": 1999,
          "originPrice": 1999,
          "productId": "com.coupleu.year.plus",
          "isShow": 1,
          "role": 4,
          "type": 1,
          "createdAt": 1764711547,
          "updatedAt": 1764727416
        }
      ]
    },
    "ultra": {
      "benefitsList": {},
      "packagesList": [{},{},{}]
    },
    "vip": {
      "benefitsList": {},
      "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 可开启思维链 1:是(默认) 0:否
---sceneTransition int 可切换场景 1:是(默认) 0:否
---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:默认
-plus json vip-plus
-ultra json vip-ultra

备注

code:

200=成功

1040=>重复反馈

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-12-04 10:45:41

results matching ""

    No results matching ""