Authored by LUOXC
## 1、推荐店铺##
(method=app.newproduct.rec.shop)
(method=app.newproduct.recshop)
请求方式:get
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
... ... @@ -9,11 +9,14 @@
|limit|Integer|是|10|20|每页个数|
|page|Integer|是|1|数1|第几页|
|uid|Integer|是|10961123|null|用户ID|
|client_type|String|否|andriod|null|客户端类型|
注意,通用的头部没有列出。
请求示例
http://192.168.102.205:8080//gateway/?method=app.newproduct.rec.shop&yh_channel=1&limit=10&page=1&uid=10961101&debug=XYZ
http://127.0.0.1:8080/gateway/?app_version=3.9&gender=1,3&method=app.newproduct.recshop&os_version=android4.4.4:2014813&screen_size=72&client_type=android&client_type=andriod&debug=XYZ&client_secret=c076fe23731
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
响应JSON格式如下所示:
... ... @@ -25,17 +28,106 @@ code为200即为成功且只会返回200,每次都会有响应结果。
"page_total": 1,
"page": 1,
"shop_list": [
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15
}
],
{
"favorite_num": 3,
"mult_brand_shop_type": "2",
"new_product_num": 56,
"shop_domain": "shop$15",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/04/28/10/012ef68cd323fe770508799ba1da0cdd0a.PNG?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店123",
"shop_template_type": "1",
"shops_id": 15,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 11,
"shop_domain": "honghzuang",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/08/10/15/0135767584c608aa90a80c089e70d4051e.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "红妆的店铺",
"shop_template_type": "2",
"shops_id": 756,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 41,
"shop_domain": "zsqzsq",
"shop_logo": "",
"shop_name": "朱少卿的店铺",
"shop_template_type": "1",
"shops_id": 760,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 1,
"shop_domain": "hantang",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/24/14/01b6722593e55bde114481b1915a257c34.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "经销-hantang",
"shop_template_type": "1",
"shops_id": 852,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "2",
"new_product_num": 9,
"shop_domain": "kang03",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/26/11/01282632a1441234d6604ca59d444d7c97.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "康3多品店铺",
"shop_template_type": "1",
"shops_id": 864,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 139,
"shop_domain": "nikedp",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/08/31/13/010a28d2e8370818a64212a7026c67aca2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "nike店铺",
"shop_template_type": "1",
"shops_id": 792,
"shops_type": "2"
},
{
"favorite_num": 9,
"mult_brand_shop_type": "2",
"new_product_num": 54,
"shop_domain": "hp",
"shop_logo": "",
"shop_name": "happy day",
"shop_template_type": "1",
"shops_id": 698,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 9,
"shop_domain": "sctest",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/05/27/18/01d4f5ca975774f706a7663273499f70dc.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "sctest1",
"shop_template_type": "2",
"shops_id": 700,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 399,
"shop_domain": "damaodianpujingdianmuban",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/11/04/10/010830607390dadae42e2c099d1285bdd4.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "damao-店铺-经典模板",
"shop_template_type": "2",
"shops_id": 880,
"shops_type": "2"
}
],
"first_part":[
{
"alt": "",
... ... @@ -64,7 +156,7 @@ code为200即为成功且只会返回200,每次都会有响应结果。
```
## 2、推荐品牌##
(method=app.newproduct.rec.brand)
(method=app.newproduct.recbrand)
请求方式:get
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
... ... @@ -77,61 +169,327 @@ code为200即为成功且只会返回200,每次都会有响应结果。
注意,通用的头部没有列出。
请求示例
http://192.168.102.205:8080//gateway/?method=app.rec.shop&yh_channel=1&limit=10&page=1&uid=10961101&debug=XYZ
http://127.0.0.1:8080/gateway/?app_version=3.9&gender=1,3&method=app.newproduct.recbrand&os_version=android4.4.4:2014813&productSize=240x319&limit=20&screen_size=72&client_type=android&client_type=andriod&debug=XYZ&client_secret=c076fe23731
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
响应JSON格式如下所示:
```json
{
"code": 200,
"data": {
"total": 10,
"page_total": 1,
"page": 1,
"browse_brand_list": [
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15
}
],
"hot_brand_list": [
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15
}
],
"new_brand_list": [
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15
}
]
},
"message": "Search List."
"alg": "SALT_MD5",
"code": 200,
"data": {
"hot_brand_list": [
{
"favorite_num": 3,
"mult_brand_shop_type": "2",
"new_product_num": 56,
"shop_domain": "shop$15",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/04/28/10/012ef68cd323fe770508799ba1da0cdd0a.PNG?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店123",
"shop_template_type": "1",
"shops_id": 15,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 11,
"shop_domain": "honghzuang",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/08/10/15/0135767584c608aa90a80c089e70d4051e.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "红妆的店铺",
"shop_template_type": "2",
"shops_id": 756,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 41,
"shop_domain": "zsqzsq",
"shop_logo": "",
"shop_name": "朱少卿的店铺",
"shop_template_type": "1",
"shops_id": 760,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 1,
"shop_domain": "hantang",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/24/14/01b6722593e55bde114481b1915a257c34.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "经销-hantang",
"shop_template_type": "1",
"shops_id": 852,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "2",
"new_product_num": 9,
"shop_domain": "kang03",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/26/11/01282632a1441234d6604ca59d444d7c97.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "康3多品店铺",
"shop_template_type": "1",
"shops_id": 864,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 139,
"shop_domain": "nikedp",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/08/31/13/010a28d2e8370818a64212a7026c67aca2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "nike店铺",
"shop_template_type": "1",
"shops_id": 792,
"shops_type": "2"
},
{
"favorite_num": 9,
"mult_brand_shop_type": "2",
"new_product_num": 54,
"shop_domain": "hp",
"shop_logo": "",
"shop_name": "happy day",
"shop_template_type": "1",
"shops_id": 698,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 9,
"shop_domain": "sctest",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/05/27/18/01d4f5ca975774f706a7663273499f70dc.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "sctest1",
"shop_template_type": "2",
"shops_id": 700,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 399,
"shop_domain": "damaodianpujingdianmuban",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/11/04/10/010830607390dadae42e2c099d1285bdd4.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "damao-店铺-经典模板",
"shop_template_type": "2",
"shops_id": 880,
"shops_type": "2"
}
],
"browse_brand_list": [
{
"favorite_num": 3,
"mult_brand_shop_type": "2",
"new_product_num": 56,
"shop_domain": "shop$15",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/04/28/10/012ef68cd323fe770508799ba1da0cdd0a.PNG?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店123",
"shop_template_type": "1",
"shops_id": 15,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 11,
"shop_domain": "honghzuang",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/08/10/15/0135767584c608aa90a80c089e70d4051e.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "红妆的店铺",
"shop_template_type": "2",
"shops_id": 756,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 41,
"shop_domain": "zsqzsq",
"shop_logo": "",
"shop_name": "朱少卿的店铺",
"shop_template_type": "1",
"shops_id": 760,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 1,
"shop_domain": "hantang",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/24/14/01b6722593e55bde114481b1915a257c34.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "经销-hantang",
"shop_template_type": "1",
"shops_id": 852,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "2",
"new_product_num": 9,
"shop_domain": "kang03",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/26/11/01282632a1441234d6604ca59d444d7c97.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "康3多品店铺",
"shop_template_type": "1",
"shops_id": 864,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 139,
"shop_domain": "nikedp",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/08/31/13/010a28d2e8370818a64212a7026c67aca2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "nike店铺",
"shop_template_type": "1",
"shops_id": 792,
"shops_type": "2"
},
{
"favorite_num": 9,
"mult_brand_shop_type": "2",
"new_product_num": 54,
"shop_domain": "hp",
"shop_logo": "",
"shop_name": "happy day",
"shop_template_type": "1",
"shops_id": 698,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 9,
"shop_domain": "sctest",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/05/27/18/01d4f5ca975774f706a7663273499f70dc.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "sctest1",
"shop_template_type": "2",
"shops_id": 700,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 399,
"shop_domain": "damaodianpujingdianmuban",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/11/04/10/010830607390dadae42e2c099d1285bdd4.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "damao-店铺-经典模板",
"shop_template_type": "2",
"shops_id": 880,
"shops_type": "2"
}
],
"new_brand_list": [
{
"favorite_num": 3,
"mult_brand_shop_type": "2",
"new_product_num": 56,
"shop_domain": "shop$15",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/04/28/10/012ef68cd323fe770508799ba1da0cdd0a.PNG?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店123",
"shop_template_type": "1",
"shops_id": 15,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 11,
"shop_domain": "honghzuang",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/08/10/15/0135767584c608aa90a80c089e70d4051e.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "红妆的店铺",
"shop_template_type": "2",
"shops_id": 756,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 41,
"shop_domain": "zsqzsq",
"shop_logo": "",
"shop_name": "朱少卿的店铺",
"shop_template_type": "1",
"shops_id": 760,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 1,
"shop_domain": "hantang",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/24/14/01b6722593e55bde114481b1915a257c34.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "经销-hantang",
"shop_template_type": "1",
"shops_id": 852,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "2",
"new_product_num": 9,
"shop_domain": "kang03",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/10/26/11/01282632a1441234d6604ca59d444d7c97.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "康3多品店铺",
"shop_template_type": "1",
"shops_id": 864,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 139,
"shop_domain": "nikedp",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/08/31/13/010a28d2e8370818a64212a7026c67aca2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "nike店铺",
"shop_template_type": "1",
"shops_id": 792,
"shops_type": "2"
},
{
"favorite_num": 9,
"mult_brand_shop_type": "2",
"new_product_num": 54,
"shop_domain": "hp",
"shop_logo": "",
"shop_name": "happy day",
"shop_template_type": "1",
"shops_id": 698,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 9,
"shop_domain": "sctest",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/05/27/18/01d4f5ca975774f706a7663273499f70dc.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "sctest1",
"shop_template_type": "2",
"shops_id": 700,
"shops_type": "2"
},
{
"favorite_num": 0,
"mult_brand_shop_type": "1",
"new_product_num": 399,
"shop_domain": "damaodianpujingdianmuban",
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/11/04/10/010830607390dadae42e2c099d1285bdd4.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "damao-店铺-经典模板",
"shop_template_type": "2",
"shops_id": 880,
"shops_type": "2"
}
]
},
"md5": "c11ff0ffb659e36c46c8b182f691899f",
"message": "newproduct recbrand list."
}
```
## 2、最新上架##
(method=app.newproduct.newShelf
(method=app.newproduct.reclist
请求方式:get
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
... ... @@ -153,239 +511,506 @@ code为200即为成功且只会返回200,每次都会有响应结果。
注意,通用的头部没有列出。
请求示例
http://192.168.102.205:8080//gateway/?method=app.rec.shop&yh_channel=1&limit=10&page=1&uid=10961101&debug=XYZ
http://192.168.102.25:8080/gateway/?app_version=3.9&gender=1,3&method=app.newproduct.reclist&os_version=android4.4.4:2014813&productSize=240x319&limit=20&screen_size=72&client_type=android&client_secret=bcebd27fbf1d35aed162bbb3c00c090b
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
大数据的推荐类型定义:
String BIGDATA_REC_TYPE_HOTSEARCHTERM = "hotSearchTerm";
String BIGDATA_REC_TYPE_SEASONSORT = "seasonSort";
String BIGDATA_REC_TYPE_FASHIONARTICLE = "fashionArticle";
String BIGDATA_REC_TYPE_HOTSHOP = "hotShop";
响应JSON格式如下所示:
```json
{
"code": 200,
"data": {
"total": 10,
"page_total": 1,
"page": 1,
"filter": {
"new": "Y",
"gender": {
"1,3": "BOYS"
},
"color": [
{
"color_id": 14,
"color_name": "金色",
"color_value": "",
"color_code": "FFD83D"
},
{
"color_id": 15,
"color_name": "彩色",
"color_value": "",
"color_code": "FFD83D"
},
{
"color_id": 35,
"color_name": "黄色",
"color_value": "/2016/03/01/09/015d4f7dff593bf03dc460f9359d7541d9.jpg",
"color_code": "ffeb00"
}
],
"discount": {
"0.01,0.399": {
"name": "1~3",
"count": 1
}
},
"group_sort": [
{
"category_id": "496",
"category_name": "上衣",
"node_count": 0,
"parent_id": "301",
"relation_parameter": {
"sort": "114,117,118,293"
},
"sort_ico": "",
"sub": [
{
"category_id": "514",
"category_name": "T恤",
"node_count": 0,
"parent_id": "496",
"relation_parameter": {
"sort": "114,293"
},
"sort_ico": ""
},
{
"category_id": "58",
"category_name": "马甲",
"node_count": 0,
"parent_id": "18",
"relation_parameter": {
"sort": "118"
},
"sort_ico": ""
"alg": "SALT_MD5",
"code": 200,
"data": {
"standard": [
{
"standard_id": "826",
"sub": [
{
"standard_id": "4628",
"standard_name": "正常"
},
{
"standard_id": "4629",
"standard_name": "宽松"
},
{
"standard_id": "4627",
"standard_name": "修身"
}
],
"standard_name": "版型"
}
],
"filter": {
"new": "Y",
"gender": {
"1,3": "BOYS"
},
"color": [
{
"color_id": 2,
"color_name": "黑色",
"color_value": "",
"color_code": "68EE68"
}
],
"limited": "Y",
"discount": {
"0.01,0.399": {
"name": "1~3",
"count": 23683
},
"0.7,0.999": {
"name": "7~9",
"count": 325
},
"0.4,0.699": {
"name": "4~6",
"count": 95
}
},
"ageLevel": [
{
"product_count": 24165,
"name": "成人",
"id": "1"
},
{
"product_count": 4,
"name": "大童(11-15岁)",
"id": "2"
},
{
"product_count": 4,
"name": "小童(2-6岁)",
"id": "3"
}
],
"group_sort": [
{
"category_id": "43",
"category_name": "内衣/家居服",
"node_count": 0,
"parent_id": "2",
"relation_parameter": {
"sort": "364,311,357,359"
},
"sort_ico": "http://img12.static.yhbimg.com/taobaocms/2015/09/01/14/0247953ebb2eab3bbfc55d1e8621f9350f.jpg?imageView/{mode}/w/{width}/h/{height}",
"sub": [
{
"category_id": "108",
"category_name": "内裤",
"node_count": 0,
"parent_id": "43",
"relation_parameter": {
"sort": "311"
},
"sort_ico": ""
},
{
"category_id": "116",
"category_name": "家居服",
"node_count": 0,
"parent_id": "43",
"relation_parameter": {
"sort": "357"
},
"sort_ico": ""
},
{
"category_id": "122",
"category_name": "家居鞋",
"node_count": 0,
"parent_id": "43",
"relation_parameter": {
"sort": "359"
},
"sort_ico": ""
}
]
}
],
"size": [
{
"size_name": "M",
"size_id": 203
}
],
"specialoffer": "Y",
"style": [
{
"style_id": 991,
"style_name": "街头"
}
],
"brand": [
{
"hot_keyword": " Life after life 潮流 快时尚",
"brand_domain": "lal",
"brand_alif": "L",
"is_hot": "Y",
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2014/02/07/13/0118e52b6f94d0f566bb6e17b1a08ac165.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Life·After Life",
"id": 208,
"brand_keyword": "潮流,快时尚,吴亦凡",
"brand_name_en": "Life·After Life",
"brand_name_cn": "生生不息"
}
],
"priceRange": {
"0,159": "¥0-159",
"320,749": "¥320-749",
"160,319": "¥160-319",
"750,99999": "¥749以上"
}
]
}
],
"size": [
{
"size_name": "XS",
"size_id": 213
},
{
"size_name": "S",
"size_id": 207
}
],
"specialoffer": "Y",
"style": [],
"brand": [
{
"hot_keyword": "",
"brand_domain": "Nike",
"brand_alif": "N",
"is_hot": "Y",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"brand_keyword": "耐克,耐克官方授权店,Nike,Nike sportswear,action sports,NSW,air force 1,dunk,cortez,blazer",
"brand_name_en": "Nike",
"brand_name_cn": "Nike"
"total": 24166,
"page_total": 1209,
"tabs": {
"1": "01月03日",
"2": "本周上新",
"3": "销量"
},
{
"hot_keyword": "潮流 it 5cm 香港 时尚 个性 独特",
"brand_domain": "5cm",
"brand_alif": "5",
"is_hot": "Y",
"brand_ico": "http://img12.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_name": "5CM",
"id": 4,
"brand_keyword": "5cm,it,摇滚,朋克,简约,英伦,时尚,潮流,正装,现代,前卫,摩登,个性,优雅,复古,独特,简洁,铆钉,民族",
"brand_name_en": "5CM",
"brand_name_cn": "5CM"
}
],
"priceRange": {
"1,199": "¥1-199",
"0,0": "¥0-0",
"200,99999": "¥199以上"
}
"page": 1,
"product_list": [
{
"data": [
{
"appType": 0,
"categoryCode": "1,5,66,0",
"categoryId": 66,
"categoryName": "西装",
"createTime": 1441118396,
"icon": "",
"levelNumber": 3,
"orderBy": 9,
"parentId": 5,
"relationParameter": "122",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
},
{
"appType": 0,
"categoryCode": "1,5,72,0",
"categoryId": 72,
"categoryName": "夹克",
"createTime": 1441118423,
"icon": "",
"levelNumber": 3,
"orderBy": 14,
"parentId": 5,
"relationParameter": "124",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
},
{
"appType": 0,
"categoryCode": "1,8,98,0",
"categoryId": 98,
"categoryName": "运动裤",
"createTime": 1441118575,
"icon": "",
"levelNumber": 3,
"orderBy": 3,
"parentId": 8,
"relationParameter": "346",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
},
{
"appType": 0,
"categoryCode": "1,11,107,0",
"categoryId": 107,
"categoryName": "休闲/运动鞋",
"createTime": 1441118676,
"icon": "",
"levelNumber": 3,
"orderBy": 5,
"parentId": 11,
"relationParameter": "147",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
},
{
"appType": 0,
"categoryCode": "1,11,119,0",
"categoryId": 119,
"categoryName": "靴子",
"createTime": 1441118722,
"icon": "",
"levelNumber": 3,
"orderBy": 3,
"parentId": 11,
"relationParameter": "148",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
},
{
"appType": 0,
"categoryCode": "1,14,171,0",
"categoryId": 171,
"categoryName": "旅行箱",
"createTime": 1441119049,
"icon": "",
"levelNumber": 3,
"orderBy": 3,
"parentId": 14,
"relationParameter": "210",
"relationParameterList": [],
"relationUrl": "",
"state": 1,
"sub": []
}
],
"recommend_type": "seasonSort"
},
{
"data": {
"shops_id": 756,
"mult_brand_shop_type": "1",
"shop_domain": "honghzuang",
"shops_type": "2",
"favorite_num": 0,
"shop_logo": "http://img10.static.yhbimg.com/yhb-img01/2016/08/10/15/0135767584c608aa90a80c089e70d4051e.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "红妆的店铺",
"shop_template_type": "2",
"new_product_num": 11
},
"recommend_type": "hotShop"
},
{
"small_sort_id": 114,
"vip1_price": 189,
"is_seckill": "N",
"gender": "1",
"vip3_price": 189,
"is_global": "N",
"first_shelve_time": 1483078599,
"is_outlets": 2,
"is_discount": "Y",
"brand_domain": "Nike",
"goods_list": [
{
"color_id": "11",
"storage_num": 198,
"product_skc": 648134,
"cover_1": "",
"goods_id": "668144",
"images_url": "http://img12.static.yhbimg.com/goodsimg/2016/12/30/14/02a377752b688f2657816264d5fdf285a5.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"color_name": "红色",
"cover_2": "",
"color_value": "",
"is_default": "Y",
"color_code": "ee0000",
"status": "1"
},
{
"color_id": "13",
"storage_num": 0,
"product_skc": 648136,
"cover_1": "",
"goods_id": "668146",
"images_url": "",
"color_name": "银色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "#ccccc",
"status": "0"
},
{
"color_id": "9",
"storage_num": 0,
"product_skc": 648140,
"cover_1": "",
"goods_id": "668150",
"images_url": "",
"color_name": "黄色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "ffeb00",
"status": "0"
},
{
"color_id": "11",
"storage_num": 0,
"product_skc": 648142,
"cover_1": "",
"goods_id": "668152",
"images_url": "",
"color_name": "红色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "ee0000",
"status": "0"
},
{
"color_id": "1",
"storage_num": 0,
"product_skc": 648144,
"cover_1": "",
"goods_id": "668154",
"images_url": "",
"color_name": "绿色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "68EE68",
"status": "0"
},
{
"color_id": "11",
"storage_num": 0,
"product_skc": 648146,
"cover_1": "",
"goods_id": "668156",
"images_url": "",
"color_name": "红色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "ee0000",
"status": "0"
},
{
"color_id": "3",
"storage_num": 0,
"product_skc": 648148,
"cover_1": "",
"goods_id": "668158",
"images_url": "",
"color_name": "灰色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "b9b7af",
"status": "0"
},
{
"color_id": "15",
"storage_num": 0,
"product_skc": 648150,
"cover_1": "",
"goods_id": "668160",
"images_url": "",
"color_name": "彩色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "FFD83D",
"status": "0"
},
{
"color_id": "6",
"storage_num": 0,
"product_skc": 648152,
"cover_1": "",
"goods_id": "668162",
"images_url": "",
"color_name": "绿色",
"cover_2": "",
"color_value": "",
"is_default": "N",
"color_code": "47ba17",
"status": "0"
}
],
"vip_discount_type": 3,
"product_id": 505600,
"is_advance": "N",
"sales_num": 0,
"sales_phrase": "",
"is_student_rebate": "N",
"cn_alphabet": "NikenanTxu",
"product_skn": 512584852,
"shelve_time": 1483437962,
"is_deposit_advance": "N",
"vip2_price": 189,
"age_level": "1",
"is_student_price": "N",
"edit_time": 1483437962,
"is_new": "Y",
"is_limited": "N",
"brand_name": "Nike",
"max_sort_id": 1,
"product_name": "Nike男T恤",
"brand_id": 248,
"tags": [
"is_innerservenday"
],
"default_images": "http://img12.static.yhbimg.com/goodsimg/2016/12/30/14/02a377752b688f2657816264d5fdf285a5.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"stock_number": 198,
"storage_num": 198,
"is_soon_sold_out": "N",
"middle_sort_id": 11,
"sales_price": 189,
"market_price": 200,
"is_promotion": 0,
"vip_price": 0,
"is_limitbuy": "N",
"country_id": 2,
"status": 1
}
{
"data": [
"nike",
"耐克",
"adidas",
"阿迪达斯",
"5cm",
"H&M",
"速写",
"无印良品"
],
"recommend_type": "hotSearchTerm"
},
{
"data": {
"ads_img_size": "",
"article_type": "1",
"author_id": "8123499",
"browse": "13722",
"category_id": "3",
"conver_image_type": "1",
"id": 2003,
"intro": "定义水原希子决不能只用一个简单的“模特”,因为她完全有作为“fashion icon”的资本。拥有个人特色的好品味和时尚敏感度让Kiko成为日本女孩的模仿对象,同时她也拥有一张一眼就能令人印象深刻的混血面容。",
"isDelete": "N",
"is_recommended": "0",
"praiseStatus": "true",
"praise_num": "26",
"publish_time": "06月16日 18:30",
"publish_time_long": "1434450600000",
"share": {
"url": "http://guang.m.yohobuy.com/info/index?id=2003&openby:yohobuy={\"action\":\"go.share\",\"params\":{\"pic\":\"http://img11.static.yhbimg.com/yhb-img01/2015/06/12/11/0158ead20d8ed71620ffbb3563d77ffd8e.jpg?imageView2/2/w/640/h/640\",\"title\":\"水原希子迷人黑色裙装\",\"url\":\"http://guang.m.yohobuy.com/info/index?id=2003\",\"content\":\"潮流资讯,新鲜贩售,YOHO!有货【逛】不停\"}}"
},
"src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/12/11/0158ead20d8ed71620ffbb3563d77ffd8e.jpg?imageView2/{mode}/w/{width}/h/{height}",
"title": "水原希子迷人黑色裙装",
"url": "http://guang.m.yohobuy.com/info/index?id=2003&openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"param\":{\"id\":\"2003\"},\"update_flag\":\"9bed6033d6955da96d5f367260582f4b\",\"shareparam\":{\"id\":2003},\"share\":\"/guang/api/v1/share/guang\",\"id\":2003,\"type\":1,\"url\":\"http://guang.m.yohobuy.com/info/index\",\"islogin\":\"N\"}}"
},
"recommend_type": "fashionArticle"
},
],
"page_size": 20
},
"season_hot_sort": [
{
"id": 285,
"name": "夹克"
},
{
"id": 285,
"name": "棉衣"
}
]
"product_list": [
{
"element_type":"product"
"small_sort_id": 125,
"vip1_price": 459,
"is_seckill": "N",
"gender": "1",
"product_price_plan_list": null,
"vip3_price": 459,
"is_global": "N",
"first_shelve_time": 1482980848,
"is_outlets": 2,
"is_discount": "Y",
"brand_domain": "5cm",
"is_special": null,
"vip_discount_type": 3,
"product_id": 505592,
"is_advance": "N",
"sales_num": 0,
"sales_phrase": "",
"is_student_rebate": "N",
"cn_alphabet": "5CMnandayi/fengyi",
"product_skn": 512584842,
"shelve_time": 0,
"is_deposit_advance": "N",
"vip2_price": 459,
"age_level": "1",
"is_student_price": "N",
"edit_time": 1482980848,
"is_new": "Y",
"student_price": null,
"is_limited": "N",
"brand_name": "5CM",
"max_sort_id": 1,
"product_name": "5CM男大衣/风衣",
"brand_id": 4,
"default_images": "/2016/12/29/11/0205c4c42ec661261af19bcc895db9f142.jpg",
"yohood_id": null,
"stock_number": 100,
"storage_num": 100,
"is_soon_sold_out": "N",
"middle_sort_id": 22,
"sales_price": 459,
"market_price": 500,
"is_promotion": 0,
"vip_price": 0,
"is_limitbuy": "N",
"country_id": 2,
"status": 1
},
{
"element_type":"hotSearchWord",
"word_list": "nike,耐克,adidas"
},
{
"element_type":"shop",
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15,
"favorite_num":2136
},
{
"element_type":"article",
"id":1523,
"articleTitle":"chunsefeng纯色风"
"coverImage": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"url": "http://baidu.com",
},
{
"element_type":"recommendBrand",
"shop_list":[
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15,
"favorite_num":2136
},
{
"shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2013/01/16/09/01f515687de080f94243cb1aa0fedb2fe1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_name": "得宝旗舰店",
"shop_domain": "shop$15",
"shops_id": 15,
"status": 1,
"shops_type": 1,
"decorator_template_type": 2,
"new_product_num": 15,
"favorite_num":2136
}
]
}
]
},
"message": "Search List."
"md5": "42cc040dfccba5bd6a8ad6f75b8c68e3",
"message": "newproduct recproduct list."
}
```
... ...
... ... @@ -12,13 +12,7 @@
| date | date | false |2016-12-26|时间类型(默认当天)|
#### 请求方法
post htttp://localhost:8080/flowsurvey/overview
#### 请求内容json
{
"date": "2016-12-16",
"type": "pc/ios/android/app/all"
}
get htttp://localhost:8080/flowsurvey/overview?type=all&date=2016-12-26
#### 响应内容json
{
... ... @@ -43,22 +37,10 @@
| Param Name | Param Type | Required | Param Value | Desc |
| :-- | --: | --: | --: | --: |
| type | String | false |pc/wap/ios/android/all| 客户端类类型(默认全部)|
| index | Array | false | ["pv","uv","loss_rate","avg_pv","avg_stay"]|指标类型(默认全部指标)|
| index | String | false | pv,uv,loss_rate,avg_pv,avg_stay]|指标类型(默认全部指标)|
### 请求方法
post http://localhost:8080//flowsurvey/trend
### 请求内容json
{
"type": "pc/wap/ios/android/all",
"index": [
"pv",
"uv",
"loss_rate",
"avg_pv",
"avg_stay"
]
}
get http://localhost:8080/flowsurvey/trend?type=al&index=pv,uv
#### 响应内容json
{
... ... @@ -105,13 +87,7 @@
| date | date | false |2016-12-26|时间类型(默认当天)|
#### 请求方法
post htttp://localhost:8080/flowsurvey/resource_rank
#### 请求内容json
{
"date": "2016-12-26",
"type": "ios/android"
}
get htttp://localhost:8080/flowsurvey/resource_rank?type=ios&date=2016-12-26
#### 响应内容json(结果已排序 index 从大到小排列)
{
... ... @@ -151,14 +127,7 @@
| top | Int | false ||排名多少(默认前50)|
#### 请求方法
post htttp://localhost:8080/flowsurvey/action_rank
#### 请求内容json
{
"date": "2016-12-16",
"type": “brand/product”,
"top": 50
}
get htttp://localhost:8080/flowsurvey/action_rank?type=brand&date=2016-12-26&top=50
#### 响应内容json (同上 index 排序)
{
... ... @@ -194,13 +163,8 @@
| date | date | false |2016-12-26|时间类型(默认当天)|
#### 请求方法
post htttp://localhost:8080/flowsurvey/user_rank
get htttp://localhost:8080/flowsurvey/user_rank?type=terminal&date=2016-12-26
#### 请求内容json
{
"date": "2016-12-16",
"type": “terminal/city/gender/comp"
}
#### 响应内容json
##### terminal
... ...
# 线下店资讯 #
# 目录 #
一、根据门店id获取门店信息:StoreController/getStoreInfoExtById
##
#一、根据门店id获取门店信息#
入口:StoreController/getStoreInfoExtById
##
# 请求参数 #
| 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 |
| ---------|:--------:| --------:|-----:|------:|------:|------:|
|storeId |int | 11 |否 | | |门店id|
**请求示例**
注意,通用的头部没有列出。
http://192.168.102.210:8080/portal-gateway/StoreController/getStoreInfoExtById?debug=XYZ&storeId=66
参数说明
thumbnailUrl:缩略图
pictureUrl:门店图片
introduction:门店简介
detail:门店详情
longitude:门店经度
latitude:门店纬度
address:门店地址
region_id:地区
telephone : 电话
**响应**
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"message": "success",
"data": {
"storeId": 66,
"regionId": 366,
"regionName": null,
"address": "中国",
"longitude": 11,
"latitude": 22,
"businessTime": "13131",
"telephone": "12312",
"thumbnailUrl": "http://img11.static.yhbimg.com/yhb-img01/2016/12/13/15/011a498ccbdbf41b5503ce7b1d22f30561.png",
"pictureUrl": "http://img10.static.yhbimg.com/yhb-img01/2016/12/13/15/01211e0480d91168936b485ec32c2a6b5c.png",
"introduction": "200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字200字",
"createUserId": null,
"createTime": null,
"updateTime": 1481686533,
"detail": "<p>123<img src=\"http://img11.static.yhbimg.com/yhb-img01/2016/12/14/11/015e93efccb7202761119d4ed77f6adc5d.png\" title=\"\" alt=\"\"/></p>",
"storeName": "爱尚YohoKids",
"id": 66
}
}
... ...