Authored by chenchao
... ... @@ -240,3 +240,135 @@ code为200即为成功,否则是失败。
"message": "brands list"
}
```
## 5、PC查询所有品牌列表接口##
(method=app.brand.newBrandList)
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|yh_channel|String|是|1|null|频道|
注意,通用的头部没有列出。
请求示例
http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.brand.newBrandList&yh_channel=1&client_secret=3f31be8d35adb60425882cbb7298afa9
### 响应
code为200即为成功,否则是失败。
响应JSON格式如下所示:
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"all_list": {
"0~9": [
{
"brand_alif": "0",
"brand_domain": "004",
"brand_ico": "http://img10.static.yhbimg.com/brandLogo/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "004,服装,包类",
"brand_name": "004",
"brand_name_cn": "零零肆__111",
"brand_name_en": "00411111xxx12121",
"hot_keyword": "004",
"id": 1,
"is_hot": "",
"is_show_new": "N",
"type": "0"
},
{
"brand_alif": "1",
"brand_domain": "shichengyi",
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2014/12/09/14/01c268eeca1437276d8711e6db7746ddf1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "10x1,时晨昳",
"brand_name": "10x1",
"brand_name_cn": "10x1",
"brand_name_en": "10x1111",
"hot_keyword": "10x1",
"id": 2,
"is_hot": "",
"is_show_new": "N",
"type": "0"
},
{
"brand_alif": "7",
"brand_domain": "jiajianchengchu",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2012/08/02/15/023909f130f5a5ea61b1227ab941e35fe0.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "加减乘除",
"brand_name": "+-×÷",
"brand_name_cn": "加减乘除",
"brand_name_en": "+-×÷",
"hot_keyword": "加减乘除是年轻化的高级时装,注重剪裁和细节。",
"id": 298,
"is_hot": "N",
"is_show_new": "N",
"type": "0"
}
],
"A": [
{
"brand_alif": "A",
"brand_domain": "aape",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/03/15/02a0c256f3a75784fbcaa7d37715fcfa00.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "",
"brand_name": "Aape",
"brand_name_cn": "",
"brand_name_en": "Aape",
"hot_keyword": "",
"id": 862,
"is_hot": "N",
"is_show_new": "N",
"type": "0"
}
]
},
"hot_list": [
{
"brand_alif": "A",
"brand_domain": "ablejeans",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2014/05/08/12/0241b56aa9407b25d60b8d6c03ad6396c6.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "ABLE JEANS",
"brand_name": "ABLE JEANS",
"brand_name_cn": "欧帛牛仔",
"brand_name_en": "ABLE JEANS",
"hot_keyword": "",
"id": 536,
"is_hot": "Y",
"is_show_new": "N",
"type": "0"
},
{
"brand_alif": "5",
"brand_domain": "5cm",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/01/06/024a32e5a272fdeb37e97a645f18b5541c.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "5cm,it,摇滚,朋克,简约,英伦,时尚,潮流,正装,现代,前卫,摩登,个性,优雅,复古,独特,简洁,铆钉,民族",
"brand_name": "5CM",
"brand_name_cn": "",
"brand_name_en": "5CM111",
"hot_keyword": "潮流 it 5cm 香港 时尚 个性 独特",
"id": 4,
"is_hot": "Y",
"is_show_new": "N",
"type": "0"
}
],
"new_list": [
{
"brand_alif": "5",
"brand_domain": "5cm",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/01/06/024a32e5a272fdeb37e97a645f18b5541c.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_keyword": "5cm,it,摇滚,朋克,简约,英伦,时尚,潮流,正装,现代,前卫,摩登,个性,优雅,复古,独特,简洁,铆钉,民族",
"brand_name": "5CM",
"brand_name_cn": "",
"brand_name_en": "5CM111",
"hot_keyword": "潮流 it 5cm 香港 时尚 个性 独特",
"id": 4,
"is_hot": "Y",
"is_show_new": "N",
"type": "0"
}
]
},
"message": "success"
}
```
\ No newline at end of file
... ...