简要描述:
- 搜索商品
请求URL:
POST/plugin.video-share.frontend.goods.getGoodsByKeyword
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
keyword | 否 | str | 关键字 |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
list: {
total: 14,
per_page: 15,
current_page: 1,
last_page: 1,
next_page_url: null,
prev_page_url: null,
from: 1,
to: 14,
data: [
{
"id": 5,
"store_name": "111",
"thumb": "http://dev3.yunzshop.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg",
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111008,
"address": "机场路1600号",
"full_address": "广东省 广州市 白云区 新市街道 机场路1600号",
"dispatch": null,
"average_score": 5,
"order_total": 61,
"validity_status_name": "入驻中",
"change_thumb": "http://dev3.yunzshop.com/attachment/images/3/2017/08/GRSI9Jj8Hgf42i2g64l568iIgOiGwW.jpg"
}
]
}
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 门店id |
store_name | string | 门店标题 |
thumb | string | 门店图片 |
full_address | string | 门店地址 |
备注:
- 更多返回错误代码请看首页的错误代码描述