内购订阅项

请求URL:

  • /rechargePackages

请求方式:

  • POST

参数:

参数名 必选 类型 说明
无 无 无 无

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "inductionSubscribe": [
            {
                "id": 6,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 999,
                "originalPrice": 999,
                "amount": 1000,
                "amountGift": 0,
                "productId": "week.cp",
                "limitBuy": 0,
                "type": 3,
                "isShow": 1,
                "createdAt": "2026-10-14T01:49:57Z",
                "updatedAt": "2026-10-14T01:49:57Z"
            }
        ],
        "purchase": [
            {
                "id": 4,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 499,
                "originalPrice": 999,
                "amount": 500,
                "amountGift": 0,
                "productId": "xxx",
                "limitBuy": 0,
                "type": 1,
                "isShow": 1,
                "createdAt": "2026-10-14T01:42:09Z",
                "updatedAt": "2026-10-14T01:42:09Z"
            },
            {
                "id": 1,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 999,
                "originalPrice": 1499,
                "amount": 2000,
                "amountGift": 300,
                "productId": "xxxxx",
                "limitBuy": 0,
                "type": 1,
                "isShow": 1,
                "createdAt": "2026-10-14T01:39:07Z",
                "updatedAt": "2026-10-14T01:39:07Z"
            },
            {
                "id": 2,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 1999,
                "originalPrice": 3004,
                "amount": 2000,
                "amountGift": 600,
                "productId": "xxxxxx",
                "limitBuy": 0,
                "type": 1,
                "isShow": 1,
                "createdAt": "2026-10-14T01:41:32Z",
                "updatedAt": "2026-10-14T01:41:37Z"
            },
            {
                "id": 5,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 2999,
                "originalPrice": 4002,
                "amount": 3000,
                "amountGift": 900,
                "productId": "xxxxxxxx",
                "limitBuy": 0,
                "type": 1,
                "isShow": 1,
                "createdAt": "2026-10-14T01:42:52Z",
                "updatedAt": "2026-10-14T01:42:52Z"
            }
        ],
        "subscribe": [
            {
                "id": 7,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 999,
                "originalPrice": 1999,
                "amount": 0,
                "amountGift": 0,
                "productId": "weekly.sub",
                "limitBuy": 0,
                "type": 2,
                "isShow": 1,
                "createdAt": "2026-10-14T01:50:53Z",
                "updatedAt": "2026-10-14T01:50:58Z"
            },
            {
                "id": 8,
                "appId": "playlet-8e7351e-10cfda-4ed66c-android",
                "price": 14999,
                "originalPrice": 19999,
                "amount": 0,
                "amountGift": 0,
                "productId": "yearly.sub",
                "limitBuy": 0,
                "type": 2,
                "isShow": 1,
                "createdAt": "2026-10-14T01:51:25Z",
                "updatedAt": "2026-10-14T01:51:25Z"
            }
        ]
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-inductionSubscribe array 诱导订阅
-purchase array 内购项
-subscribe array 订阅项
--price int 现价(美分)
--originalPrice int 原价(美分)
--amount int 获得金币(美分)
--amountGift int 赠送金币(美分)
--productId string 产品ID
--limitBuy int 是否限购

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-10-14 13:37:13

results matching ""

    No results matching ""