简要描述:

  • 酒柜搜索货道商品

请求域名:

  • http://xx.com

请求URL:

plugin.gradevin.frontend.owner.cargo-road.goods

参数:

参数名 是否必须 类型 说明
title string 商品名称

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 18,
        "status": 1,
        "title": "商品ID18",
        "display_order": 2147483647,
        "thumb": "http://localhost/static/upload/image/a6171abe1fb392a2008dad92e260f2bf.png",
        "vip_price": "0.00",
        "next_level_price": 0,
        "has_many_goods_discount": [
          {
            "id": 3178,
            "goods_id": 18,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 0,
            "discount_value": "0",
            "created_at": "2023-12-15 17:27:53",
            "updated_at": "2023-12-15 17:27:53",
            "deleted_at": null
          },
          {
            "id": 3179,
            "goods_id": 18,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 1,
            "discount_value": "0",
            "created_at": "2023-12-15 17:27:53",
            "updated_at": "2023-12-15 17:27:53",
            "deleted_at": null
          },
          {
            "id": 3180,
            "goods_id": 18,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 2,
            "discount_value": "0",
            "created_at": "2023-12-15 17:27:53",
            "updated_at": "2023-12-15 17:27:53",
            "deleted_at": null
          },
          {
            "id": 3181,
            "goods_id": 18,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 4,
            "discount_value": "",
            "created_at": "2023-12-15 17:27:53",
            "updated_at": "2023-12-15 17:27:53",
            "deleted_at": null
          }
        ]
      },
      {
        "id": 276,
        "status": 1,
        "title": "爱心值价格显示 276",
        "display_order": 2147483647,
        "thumb": "http://localhost/static/upload/image/a6171abe1fb392a2008dad92e260f2bf.png",
        "vip_price": "0.00",
        "next_level_price": 0,
        "has_many_goods_discount": [
          {
            "id": 3150,
            "goods_id": 276,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 0,
            "discount_value": "0",
            "created_at": "2023-12-14 13:56:16",
            "updated_at": "2023-12-14 13:56:16",
            "deleted_at": null
          },
          {
            "id": 3151,
            "goods_id": 276,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 1,
            "discount_value": "0",
            "created_at": "2023-12-14 13:56:16",
            "updated_at": "2023-12-14 13:56:16",
            "deleted_at": null
          },
          {
            "id": 3152,
            "goods_id": 276,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 2,
            "discount_value": "0",
            "created_at": "2023-12-14 13:56:16",
            "updated_at": "2023-12-14 13:56:16",
            "deleted_at": null
          },
          {
            "id": 3153,
            "goods_id": 276,
            "level_discount_type": 1,
            "discount_method": 1,
            "level_id": 4,
            "discount_value": "",
            "created_at": "2023-12-14 13:56:16",
            "updated_at": "2023-12-14 13:56:16",
            "deleted_at": null
          }
        ]
      }
    ],
    "first_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "next_page_url": null,
    "path": "http://localhost/addons/yun_shop/api.php",
    "per_page": 15,
    "prev_page_url": null,
    "to": 2,
    "total": 2
  }
}


返回参数说明:

参数名 类型 说明

备注:

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