...
|
...
|
@@ -1852,11 +1852,222 @@ code为200即为成功且只会返回200,每次都会有响应结果。 |
|
|
]
|
|
|
}
|
|
|
]
|
|
|
|
|
|
},
|
|
|
"message": "sort List."
|
|
|
}
|
|
|
#### gateway接口
|
|
|
sort整合在返回的filter的group_sort中
|
|
|
####method=web.regular.groupsort
|
|
|
#### 接口参数
|
|
|
无
|
|
|
#### 接口返回
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"sort": [
|
|
|
{
|
|
|
"sort_id": "1",
|
|
|
"sort_name": "上衣",
|
|
|
"order_by": "100",
|
|
|
"count": 22712,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "11",
|
|
|
"sort_name": "T恤",
|
|
|
"order_by": "50",
|
|
|
"count": 5316
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "412",
|
|
|
"sort_name": "套装",
|
|
|
"order_by": "0",
|
|
|
"count": 26
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "3",
|
|
|
"sort_name": "裤装",
|
|
|
"order_by": "90",
|
|
|
"count": 5950,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "26",
|
|
|
"sort_name": "休闲裤",
|
|
|
"order_by": "30",
|
|
|
"count": 3415
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "347",
|
|
|
"sort_name": "西裤",
|
|
|
"order_by": "0",
|
|
|
"count": 28
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "6",
|
|
|
"sort_name": "鞋靴",
|
|
|
"order_by": "70",
|
|
|
"count": 3251,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "44",
|
|
|
"sort_name": "休闲/运动鞋",
|
|
|
"order_by": "22",
|
|
|
"count": 2002
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "298",
|
|
|
"sort_name": "厚底鞋",
|
|
|
"order_by": "0",
|
|
|
"count": 2
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "7",
|
|
|
"sort_name": "包类/装备",
|
|
|
"order_by": "60",
|
|
|
"count": 5907,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "49",
|
|
|
"sort_name": "双肩包",
|
|
|
"order_by": "20",
|
|
|
"count": 2001
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "350",
|
|
|
"sort_name": "mini包",
|
|
|
"order_by": "0",
|
|
|
"count": 7
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "8",
|
|
|
"sort_name": "服配",
|
|
|
"order_by": "50",
|
|
|
"count": 7121,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "61",
|
|
|
"sort_name": "太阳镜/眼镜",
|
|
|
"order_by": "20",
|
|
|
"count": 1117
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "294",
|
|
|
"sort_name": "口罩",
|
|
|
"order_by": "0",
|
|
|
"count": 2
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "308",
|
|
|
"sort_name": "内衣/家居服",
|
|
|
"order_by": "40",
|
|
|
"count": 1086,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "309",
|
|
|
"sort_name": "内裤",
|
|
|
"order_by": "10",
|
|
|
"count": 683
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "363",
|
|
|
"sort_name": "文胸",
|
|
|
"order_by": "8",
|
|
|
"count": 82
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "356",
|
|
|
"sort_name": "家居服",
|
|
|
"order_by": "6",
|
|
|
"count": 309
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "358",
|
|
|
"sort_name": "家居鞋",
|
|
|
"order_by": "2",
|
|
|
"count": 8
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "241",
|
|
|
"sort_name": "pinleimingcheng",
|
|
|
"order_by": "22",
|
|
|
"count": 3,
|
|
|
"sub": [
|
|
|
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "10",
|
|
|
"sort_name": "创意生活",
|
|
|
"order_by": "20",
|
|
|
"count": 4432,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "103",
|
|
|
"sort_name": "数码3C",
|
|
|
"order_by": "28",
|
|
|
"count": 1831
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "259",
|
|
|
"sort_name": "美妆",
|
|
|
"order_by": "20",
|
|
|
"count": 433
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "360",
|
|
|
"sort_name": "泳衣",
|
|
|
"order_by": "10",
|
|
|
"count": 2,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "361",
|
|
|
"sort_name": "泳衣",
|
|
|
"order_by": "0",
|
|
|
"count": 2
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "365",
|
|
|
"sort_name": "潮童",
|
|
|
"order_by": "0",
|
|
|
"count": 1425,
|
|
|
"sub": [
|
|
|
{
|
|
|
"sort_id": "396",
|
|
|
"sort_name": "卫衣",
|
|
|
"order_by": "0",
|
|
|
"count": 175
|
|
|
},
|
|
|
{
|
|
|
"sort_id": "427",
|
|
|
"sort_name": "手帕",
|
|
|
"order_by": "0",
|
|
|
"count": 1
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"md5": "d2e4119f80394b74e127b8ec3f9b8e2d",
|
|
|
"message": "sort List."
|
|
|
}
|
|
|
```
|
|
|
-------------------------------------------------------
|
|
|
|
|
|
## 四、最近上架
|
...
|
...
|
@@ -1887,6 +2098,33 @@ sort整合在返回的filter的group_sort中 |
|
|
#### gateway接口
|
|
|
暂无,需要新增接口
|
|
|
|
|
|
####method=web.regular.recent
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|yh_channel|string|是|1|null|频道|
|
|
|
|order|string|是|s_n_desc|null|排序规则|
|
|
|
|
|
|
#### 接口返回
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"recent": {
|
|
|
"2016-06-29": 3,
|
|
|
"2016-06-28": 3,
|
|
|
"2016-06-27": 1,
|
|
|
"2016-06-18": 6,
|
|
|
"2016-06-06": 1,
|
|
|
"2016-06-02": 3,
|
|
|
"2016-05-27": 8
|
|
|
}
|
|
|
},
|
|
|
"md5": "d2e4119f80394b74e127b8ec3f9b8e2d",
|
|
|
"message": "recentShelveDay List."
|
|
|
}
|
|
|
```
|
|
|
## 五、折扣区间
|
|
|
|
|
|
###### 全部折扣(http://list.yohobuy.com/sale?msort=365)
|
...
|
...
|
@@ -1920,7 +2158,36 @@ sort整合在返回的filter的group_sort中 |
|
|
-------------------------------------------------------
|
|
|
#### gateway接口
|
|
|
暂无,需要新增接口
|
|
|
|
|
|
#### method=web.regular.discount
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|msort|string|是|365|null|一级类目|
|
|
|
#### 接口返回
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"discount": {
|
|
|
"0.01,0.399": {
|
|
|
"count": 33225,
|
|
|
"name": "1~3"
|
|
|
},
|
|
|
"0.4,0.699": {
|
|
|
"count": 63367,
|
|
|
"name": "4~6"
|
|
|
},
|
|
|
"0.7,0.999": {
|
|
|
"count": 28892,
|
|
|
"name": "7~9"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"md5": "d2e4119f80394b74e127b8ec3f9b8e2d",
|
|
|
"message": "discount List."
|
|
|
}
|
|
|
```
|
|
|
## 六、搜索词提示 :
|
|
|
|
|
|
###### 搜索输入框(http://search.yohobuy.com/?query=nike)
|
...
|
...
|
@@ -2049,6 +2316,26 @@ method=app.search.fuzzy |
|
|
-------------------------------------------------------
|
|
|
#### gateway接口
|
|
|
暂无,需要新增接口
|
|
|
#### method=web.search.shopInfo
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|keyword|string|否|nike|null|关键词|
|
|
|
#### 接口返回
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"brand_domain": "nike",
|
|
|
"brand_ico": "/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg",
|
|
|
"brand_name": "Nike",
|
|
|
"id": 248
|
|
|
},
|
|
|
"md5": "d2e4119f80394b74e127b8ec3f9b8e2d",
|
|
|
"message": "shops info"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 八、获取品牌列表 :
|
|
|
###### 你可能喜欢的品牌(http://www.yohobuy.com/home)
|
...
|
...
|
@@ -2090,7 +2377,45 @@ method=app.search.fuzzy |
|
|
-------------------------------------------------------
|
|
|
#### gateway接口
|
|
|
暂无,需要新增接口
|
|
|
|
|
|
#### method=web.search.favorBrand
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
#### 接口返回
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"brand_alif": "0",
|
|
|
"brand_domain": "004",
|
|
|
"brand_ico": "/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg",
|
|
|
"brand_keyword": "004,服装,包类",
|
|
|
"brand_name": "004",
|
|
|
"brand_name_cn": "零零肆12121",
|
|
|
"brand_name_en": "jipeng",
|
|
|
"hot_keyword": "004",
|
|
|
"id": 1,
|
|
|
"is_hot": ""
|
|
|
},
|
|
|
{
|
|
|
"brand_alif": "D",
|
|
|
"brand_domain": "DOUCAN",
|
|
|
"brand_ico": "/2016/06/30/17/011ed7ff4510bcbd4a9e4242cc99b7ff99.jpg",
|
|
|
"brand_keyword": "",
|
|
|
"brand_name": "DOUCAN",
|
|
|
"brand_name_cn": "DOUCAN",
|
|
|
"brand_name_en": "DOUCAN",
|
|
|
"hot_keyword": "",
|
|
|
"id": 1726,
|
|
|
"is_hot": "N"
|
|
|
}
|
|
|
],
|
|
|
"md5": "d2e4119f80394b74e127b8ec3f9b8e2d",
|
|
|
"message": "brands info"
|
|
|
}
|
|
|
```
|
|
|
>
|
|
|
PS: 菜单导航
|
|
|
1、男生(新品到着、 服饰、 鞋履、 包袋、 配饰 · 其他)
|
...
|
...
|
|