充值套餐

请求URL:

  • /rechargePackage

请求方式:

  • POST

参数:

参数名 必选 类型 说明
limitBuy uint 是否首充限购:0-否;1-是

返回示例

{
  "code": 200,
  "msg": "SUCCESS",
  "data": [
    {
      "id": 162,
      "price": 199,
      "amount": 130,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.2",
      "limitBuy": 1,
      "type": 1,
      "channel": 0,
      "originalPrice": 0,
      "firstDouble": 65,
      "firstDoubleNo": 65,
      "createdAt": 1767488205,
      "updatedAt": 1768441558,
      "discount": 0,
      "purchaseCount": 0
    },
    {
      "id": 163,
      "price": 399,
      "amount": 130,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.3",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 0,
      "firstDouble": 104,
      "firstDoubleNo": 130,
      "createdAt": 1767488323,
      "updatedAt": 1768441558,
      "discount": 0,
      "purchaseCount": 0
    },
    {
      "id": 167,
      "price": 999,
      "amount": 400,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.7",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 9990,
      "firstDouble": 252,
      "firstDoubleNo": 360,
      "createdAt": 1767488569,
      "updatedAt": 1768442128,
      "discount": 10,
      "purchaseCount": 0
    },
    {
      "id": 168,
      "price": 1999,
      "amount": 800,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.8",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 10521,
      "firstDouble": 480,
      "firstDoubleNo": 800,
      "createdAt": 1767488617,
      "updatedAt": 1768442113,
      "discount": 19,
      "purchaseCount": 0
    },
    {
      "id": 169,
      "price": 2999,
      "amount": 1300,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.9",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 11996,
      "firstDouble": 780,
      "firstDoubleNo": 1300,
      "createdAt": 1767488675,
      "updatedAt": 1768442090,
      "discount": 25,
      "purchaseCount": 0
    },
    {
      "id": 170,
      "price": 4999,
      "amount": 2400,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.10",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 15621,
      "firstDouble": 1440,
      "firstDoubleNo": 2400,
      "createdAt": 1767488729,
      "updatedAt": 1768442073,
      "discount": 32,
      "purchaseCount": 0
    },
    {
      "id": 171,
      "price": 8999,
      "amount": 4500,
      "giftAmount": 0,
      "amountFestival": 0,
      "giftAmountFestival": 0,
      "productId": "com.joyce.new.11",
      "limitBuy": 0,
      "type": 0,
      "channel": 0,
      "originalPrice": 21426,
      "firstDouble": 3033,
      "firstDoubleNo": 5055,
      "createdAt": 1767488765,
      "updatedAt": 1768442048,
      "discount": 42,
      "purchaseCount": 0
    }
  ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据列表
-id uint 套餐ID
-price uint 套餐价格(单位:分)
-originalPrice uint 套餐原价格(单位:分)
-amount uint 钻石数
-giftAmount uint 附赠钻石数
-firstDouble uint 首充双倍 钻石基数
-firstDoubleNo uint 首充双倍(非首充) 钻石基数
-productId string 支付产品ID
-limitBuy uint 是否首充限购:0-否;1-是
-type uint 1-First charge;2-Recommend;4-Best deal
-discount uint 折扣
-purchaseCount uint 当前包购买次数

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-01-15 18:48:06

results matching ""

    No results matching ""