订阅套餐

请求URL:

  • /getRechargePackages

请求方式:

  • POST

参数:

参数名 必选 类型 说明

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": [
        {
            "id": 1,
            "price": 799,
            "originPrice": 799,
            "productId": "com.lunr.weekly",
            "isShow": 1,
            "createdAt": 1756229353,
            "updatedAt": 1756229358
        },
        {
            "id": 2,
            "price": 1499,
            "originPrice": 1499,
            "productId": "com.lunr.monthly",
            "isShow": 1,
            "createdAt": 1756229375,
            "updatedAt": 1756229379
        }
    ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据列表
-id uint 套餐ID
-price uint 套餐价格(单位:分)
-productId string 支付产品ID
-isShow uint8 是否展示:0-否;1-是
-originPrice uint 套餐原价格(单位:分)
-createdAt int64 创建时间戳
-updatedAt int64 更新时间戳

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-08-27 09:49:32

results matching ""

    No results matching ""