Authored by iknitting

根据品牌id查找店铺列表

... ... @@ -2686,4 +2686,33 @@ code为200即为成功,否则是失败。
},
"message": "success"
}
```
## 15、根据品牌id查询店铺列表接口##
(method=app.shop.queryShopsByBrandId)
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|brand_id|int|否|526|无|品牌id|
http://127.0.0.1:8080/gateway/?method=app.shop.queryShopsByBrandId&v=7&brand_id=526&debug=XYZ
### 响应
code为200即为成功,否则是失败。
响应JSON格式如下所示:
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": [
{
"brand_id": 526,
"logo": "http://img13.static.yhbimg.com/brandLogo/2015/11/17/16/02202c3d541b9b0b67aaf32068b32f4884.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"name": "5 PREVIEW",
"type": "brand"
}
],
"md5": "af641681640247284bcba8da886654e6",
"message": "product brandshop Intro"
}
```
\ No newline at end of file
... ...