简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.debt-shop.admin.setting.searchGoods

参数:

参数名 是否必须 类型 说明
kwd string 商品ID或名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 4,
                "title": "卫目天下电子喷雾仪",
                "thumb": "images/1/2020/01/Kb22YH4NYbh2uV2Be2BqVvCKHB4Bz2.png",
                "status_name": null,
                "thumb_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2020/01/Kb22YH4NYbh2uV2Be2BqVvCKHB4Bz2.png"
            }
        ],
        "first_page_url": "http://zouye.yunzmall.com/admin/shop?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://zouye.yunzmall.com/admin/shop?page=1",
        "next_page_url": null,
        "path": "http://zouye.yunzmall.com/admin/shop",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明