简要描述:
- 装修搜索套餐接口
- 接口:plugin.decorate.admin.decorate-common.get-component-list新返回组件U_goodsPackage
请求域名:
- https://dev4.yunzshop.com
请求URL:
GET/route=plugin.decorate.admin.decorate-common.search-gift-package
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
classify_id | 是 | int | 分类ID |
keyword | 是 | string | 搜索关键词 |
pageSize | 否 | int | 页码,默认一页20 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
current_page: 1,
data: [
{
id: 7,
title: "234213",
thumb: "newimage/e3b894ef5f06c329e5a90260e6a514af.jpg",
price: "233.00",
type: 1,
thumb_url: "http://yzmall.com/static/upload/newimage/e3b894ef5f06c329e5a90260e6a514af.jpg"
}
],
first_page_url: "http://yzmall.com/admin/shop?page=1",
from: 1,
last_page: 1,
last_page_url: "http://yzmall.com/admin/shop?page=1",
next_page_url: null,
path: "http://yzmall.com/admin/shop",
per_page: 20,
prev_page_url: null,
to: 1,
total: 1
}
}
错误时返回:
{
"result": 0,
"msg": "参数错误"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int(10) | 套餐id |
title | string | 套餐标题 |
thumb | string | 套餐图片路径 |
thumb_url | string | 套餐图片路径(绝对路径) |
price | decimal | 套餐价格 |
备注:
- 更多返回错误代码请看首页的错误代码描述