简要描述:

  • 酒柜时长套餐商品列表

请求域名:

  • http://xx.com

请求URL:

plugin.gradevin.frontend.consumer.duration.package

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "id": 289,
    "title": "时长套餐",
    "status": 1,
    "thumb": "http://localhost/static/upload/image/a6171abe1fb392a2008dad92e260f2bf.png",
    "price": "0.00",
    "has_many_options": [
      {
        "id": 65,
        "goods_id": 289,
        "title": "30元",
        "thumb": "",
        "stock": 999,
        "product_price": "30.00",
        "market_price": "30.00",
        "cost_price": "30.00",
        "minute": "30"
      },
      {
        "id": 66,
        "goods_id": 289,
        "title": "60元",
        "thumb": "",
        "stock": 999,
        "product_price": "60.00",
        "market_price": "60.00",
        "cost_price": "60.00",
        "minute": "60"
      },
      {
        "id": 67,
        "goods_id": 289,
        "title": "120元",
        "thumb": "",
        "stock": 999,
        "product_price": "120.00",
        "market_price": "120.00",
        "cost_price": "120.00",
        "minute": "120"
      },
      {
        "id": 68,
        "goods_id": 289,
        "title": "240元",
        "thumb": "",
        "stock": 999,
        "product_price": "240.00",
        "market_price": "240.00",
        "cost_price": "240.00",
        "minute": "240"
      }
    ],
    "status_name": "上架"
  }
}


返回参数说明:

参数名 类型 说明
data.has_many_options object 套餐时长规格
data.has_many_options.title string 套餐时长名称
data.has_many_options.stock int 套餐时长库存
data.has_many_options.product_price string 套餐时长现价
data.has_many_options.minute string 套餐时长分钟

备注:

  • 更多返回错误代码请看首页的错误代码描述