Authored by wangshusheng

vip product list

## 1、指定vip跳转,银卡、金卡、白金卡##
(method=app.product.vip)
请求方式:get
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|user_vip_level|Integer| 否| 1|1|vip级别,1:银卡会员 2:金卡会员 3:白金卡会员|
注意,通用的头部没有列出。
请求示例
http://dev-api.yohops.com:9999/?app_version=4.9.2&debug=XYZ&client_secret=7b9ec13d4fdaeac331a9a0ddfbeac257&client_type=android&method=app.product.vip&os_version=android4.4.4%3AChe1-CL20&limit=10&page=1&gender=1&screen_size=720x1280&session_key=c7e4525e9e7608a24c5b0dce094ab091&uid=9963947&v=7&yh_channel=1&user_vip_level=1
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
响应JSON格式如下所示:
```json
{
"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": {
"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": 52760
},
"0.7,0.999": {
"name": "7~9",
"count": 194
},
"0.4,0.699": {
"name": "4~6",
"count": 277
}
},
"ageLevel": [
{
"product_count": 51841,
"name": "成人",
"id": "1"
},
{
"product_count": 966,
"name": "大童(11-15岁)",
"id": "2"
},
{
"product_count": 1325,
"name": "中童(7-10岁)",
"id": "4"
},
{
"product_count": 1374,
"name": "小童(2-6岁)",
"id": "3"
},
{
"product_count": 791,
"name": "婴童(0-12个月)",
"id": "5"
}
]
"priceRange": {
"200,429": "¥200-429",
"430,799": "¥430-799",
"800,99999": "¥799以上",
"0,199": "¥0-199"
}
},
"total": 53264,
"page_total": 5327,
"page": 1,
"product_list": [
{
"vip1_price": 10.45,
"first_shelve_time": 1458029862,
"is_outlets": 2,
"brand_domain": "jnbybyjnby",
"is_special": "N",
"goods_list": [
{
"color_id": "11",
"storage_num": 3,
"product_skc": 295811,
"cover_1": "",
"goods_id": "382743",
"images_url": "http://img13.static.yhbimg.com/goodsimg/2015/10/31/03/02ba5cd854ca31decf38477a1a787473b8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"color_name": "红色",
"cover_2": "",
"is_default": "N",
"color_value": "",
"color_code": "ee0000",
"status": "1"
}
],
"product_id": 298837,
"is_advance": "N",
"is_student_rebate": "N",
"cn_alphabet": "1F070029",
"is_deposit_advance": "N",
"is_student_price": "N",
"edit_time": 1446637173,
"is_new": "N",
"brand_name": "jnby by JNBY",
"max_sort_id": 365,
"product_name": "jnby by JNBY 潮童大红可爱带帽羽绒服(白鸭绒 充绒量90%)",
"brand_id": 1028,
"tags": [],
"default_images": "http://img13.static.yhbimg.com/goodsimg/2015/10/31/03/02ba5cd854ca31decf38477a1a787473b8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"shop_id": 21,
"stock_number": 3,
"is_soon_sold_out": "N",
"market_price": 795,
"vip_price": 11,
"country_id": 2,
"status": 1,
"small_sort_id": 432,
"is_seckill": "N",
"gender": "2",
"vip3_price": 9.68,
"is_global": "N",
"is_discount": "Y",
"tbl_plane": "N",
"vip_discount_type": 1,
"sales_num": 200,
"sales_phrase": "",
"product_skn": 51167185,
"shelve_time": 1458029862,
"vip2_price": 9.9,
"age_level": "3,4",
"is_limited": "N",
"skn_default_img": "/2011/06/16/07/0299961b31b3c1fb8f4d2861a9619a39a466.JPG",
"storage_num": 3,
"middle_sort_id": 430,
"sales_price": 11,
"is_promotion": 108,
"is_limitbuy": "N"
}
],
"page_size": 10
},
"md5": "8d503ff101109ffb4f94f6cde95bc19c",
"message": "vip Search List."
}
```
## 2、年度活动优惠##
(method=app.search.sales)
请求方式:get
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|select_gender|Integer| 否| 1|null|用户选择的性别,1:男生,2:女生|
|limit|Integer| 是| 12|12|每页显示商品数量|
|page|Integer| 是| 1|1|页数|
注意,通用的头部没有列出。
请求示例
http://api.gray.yohops.com/?app_version=5.4.1&client_secret=a4988195ddc2294febb7496228543919&client_type=android&fromPage=aFP_DiscountProList&limit=20&method=app.search.sales&order=&os_version=android4.4.4%3AChe1-CL20&page=1&physical_channel=1&productSize=240x319&screen_size=720x1280&session_key=7f79caf9e43a2d713e21a8647eeba7ca&udid=867102020789521988090c62952acc1&uid=9963947&v=7&yh_channel=1
### 响应
code为200即为成功且只会返回200,每次都会有响应结果。
响应JSON格式如下所示:
```json
{
}
```
... ...