多渠道充值套餐

请求URL:

  • /rechargePackageChannel

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string App唯一标识
udid string 唯一设备ID
limitBuy uint 是否首充限购:0-否;1-是

返回示例

{
  "code": 200,
  "msg": "SUCCESS",
  "data": [
    {
      "channel": 1,
      "name": "Apple",
      "apiUrl": "",
      "icon": {
        "unSelected": "https://normal.jpg",
        "selected": "https://selected.jpg"
      },
      "list": [
        {
          "id": 36,
          "price": 199,
          "amount": 200,
          "giftAmount": 50,
          "productId": "com.live.vwlive.1",
          "limitBuy": 1,
          "type": 1,
          "channel": 1,
          "originalPrice": 798,
          "createdAt": 1745688644,
          "updatedAt": 1762371499
        },
        {
          "id": 37,
          "price": 399,
          "amount": 100,
          "giftAmount": 0,
          "productId": "com.live.vwlive.2",
          "limitBuy": 0,
          "type": 0,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745688488,
          "updatedAt": 1762371500
        },
        {
          "id": 38,
          "price": 999,
          "amount": 280,
          "giftAmount": 20,
          "productId": "com.live.vwlive.3",
          "limitBuy": 0,
          "type": 0,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745688579,
          "updatedAt": 1762371500
        },
        {
          "id": 39,
          "price": 1999,
          "amount": 620,
          "giftAmount": 111,
          "productId": "com.live.vwlive.4",
          "limitBuy": 0,
          "type": 2,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745688606,
          "updatedAt": 1762371501
        },
        {
          "id": 40,
          "price": 2999,
          "amount": 1020,
          "giftAmount": 255,
          "productId": "com.live.vwlive.5",
          "limitBuy": 0,
          "type": 0,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745688623,
          "updatedAt": 1762371501
        },
        {
          "id": 41,
          "price": 4999,
          "amount": 2000,
          "giftAmount": 720,
          "productId": "com.live.vwlive.6",
          "limitBuy": 0,
          "type": 0,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745688664,
          "updatedAt": 1762371501
        },
        {
          "id": 42,
          "price": 8999,
          "amount": 4000,
          "giftAmount": 1760,
          "productId": "com.live.vwlive.7",
          "limitBuy": 0,
          "type": 4,
          "channel": 1,
          "originalPrice": 0,
          "createdAt": 1745201734,
          "updatedAt": 1762371502
        }
      ]
    },
    {
      "channel": 2,
      "name": "PayPay",
      "apiUrl": "",
      "icon": {
        "unSelected": "https://normal.jpg",
        "selected": "https://selected.jpg"
      },
      "list": [
        {
          "id": 48,
          "price": 199,
          "amount": 200,
          "giftAmount": 50,
          "productId": "com.live.vwlive.1",
          "limitBuy": 1,
          "type": 1,
          "channel": 2,
          "originalPrice": 798,
          "createdAt": 1745688644,
          "updatedAt": 1762371499
        },
        {
          "id": 49,
          "price": 399,
          "amount": 100,
          "giftAmount": 0,
          "productId": "com.live.vwlive.2",
          "limitBuy": 0,
          "type": 0,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745688488,
          "updatedAt": 1762371500
        },
        {
          "id": 50,
          "price": 999,
          "amount": 280,
          "giftAmount": 20,
          "productId": "com.live.vwlive.3",
          "limitBuy": 0,
          "type": 0,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745688579,
          "updatedAt": 1762371500
        },
        {
          "id": 51,
          "price": 1999,
          "amount": 620,
          "giftAmount": 111,
          "productId": "com.live.vwlive.4",
          "limitBuy": 0,
          "type": 2,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745688606,
          "updatedAt": 1762371501
        },
        {
          "id": 52,
          "price": 2999,
          "amount": 1020,
          "giftAmount": 255,
          "productId": "com.live.vwlive.5",
          "limitBuy": 0,
          "type": 0,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745688623,
          "updatedAt": 1762371501
        },
        {
          "id": 53,
          "price": 4999,
          "amount": 2000,
          "giftAmount": 720,
          "productId": "com.live.vwlive.6",
          "limitBuy": 0,
          "type": 0,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745688664,
          "updatedAt": 1762371501
        },
        {
          "id": 54,
          "price": 8999,
          "amount": 4000,
          "giftAmount": 1760,
          "productId": "com.live.vwlive.7",
          "limitBuy": 0,
          "type": 4,
          "channel": 2,
          "originalPrice": 0,
          "createdAt": 1745201734,
          "updatedAt": 1762371502
        }
      ]
    }
  ]
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据列表
-channel int 渠道ID 1:Apple2:PayPay3:Stripe4:V5Pay
-apiUrl string 购买商品Api地址
-name string 渠道名称
-icon struct 渠道图标
--unSelected string 未选中图标
--selected string 选中图标
-list Array 套餐列表
--id uint 套餐ID
--price uint 套餐价格(单位:分)
--amount uint 钻石数
--giftAmount uint 附赠钻石数
--productId string 支付产品ID
--limitBuy uint 是否首充限购:0-否;1-是
--type uint 1-First charge;2-Recommend;4-Best deal
--originalPrice uint 套餐原价格(单位:分)

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-11-07 15:14:55

results matching ""

    No results matching ""