Authored by LiQingZhong

增加说明

1 -## 活动列表接口  
2 -  
3 -method=app.activity.get  
4 -  
5 -### 请求参数  
6 -  
7 -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |  
8 -|:-------| -----:|-----:|-----:|-----:|----:|  
9 -|id|Integer|是|1|null|活动id 为空表示查询全部活动|  
10 -|sort|String|否|2|null|活动类型|  
11 -|platform|String|否|2|null|活动平台|  
12 -  
13 -### 返回示例  
14 -  
15 -```json  
16 -{  
17 - "alg": "SALT_MD5",  
18 - "code": 200,  
19 - "data": [  
20 - {  
21 - "cover_url": "http://img11.static.yhbimg.com/activity/2016/03/21/10/01169fd459663e35efd16caa082b04a8ee.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
22 - "id": 111,  
23 - "left_time": 82390943,  
24 - "logo_url": "http://img11.static.yhbimg.com/activity/2016/03/21/10/014af81f397544f76ede1ad6cf189c85fd.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
25 - "product_pool": 47,  
26 - "promotion_name": "",  
27 - "sort": "2",  
28 - "title": "SYJ-21号十四点过期",  
29 - "web_url": "http://img13.static.yhbimg.com/activity/2016/03/21/10/0282dbbc49c65e5d6fa922e40d8fe3d473.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80"  
30 - }  
31 - ],  
32 - "md5": "916b270abe0fd72796b8ec378820952d",  
33 - "message": "query activity List successed."  
34 -}  
35 -```  
36 -  
37 -## sale商品列表  
38 -method=app.search.sales  
39 -### 请求参数  
40 -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |  
41 -|:-------| -----:|-----:|-----:|-----:|----:|  
42 -|p_d|String|是|1|null|折扣|  
43 -|yhChannel|String|是|2|null|频道|  
44 -|limit|Integer|是|10|null|显示数量|  
45 -|order|String|是|s_t_desc|null|排序|  
46 -|page|Integer|是|1|null|分页|  
47 -|gender|String|是|1|null|性别|  
48 -|sort|String|是|1|null|分类|  
49 -|brand|String|是|111|null|品牌|  
50 -|color|String|是|1|null|颜色|  
51 -|size|String|是|1|null|尺码|  
52 -|saleType|String|是|1|null|1表示断码区,2表示会员专区,3 折扣专区,4表示奥莱|  
53 -|breakSize|String|是|1|null|当为断码区的时候,ios调接口不好处理,传此字段再统一处理|  
54 -|breakSort|String|是|1|null|当为断码区的时候,ios调接口不好处理,传此字段再统一处理|  
55 -|productPool|String|是|1|null|商品池|  
56 -|price|String|是|1|null|价格|  
57 -  
58 -### 返回示例  
59 -  
60 -```json  
61 -{  
62 - "alg": "SALT_MD5",  
63 - "code": 200,  
64 - "data": {  
65 - "filter": {  
66 - "brand": [  
67 - {  
68 - "brand_alif": "C",  
69 - "brand_domain": "chuyu",  
70 - "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/09/16/02fd8ba524192ba622c6a61f6df4745b7f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
71 - "brand_keyword": "初语,原创,服装",  
72 - "brand_name": "初语",  
73 - "brand_name_cn": "初语",  
74 - "brand_name_en": "TOYOUTH",  
75 - "hot_keyword": "初语",  
76 - "id": 866,  
77 - "is_hot": "Y"  
78 - }  
79 - ],  
80 - "color": [  
81 - {  
82 - "color_code": "333333",  
83 - "color_id": 2,  
84 - "color_name": "黑色",  
85 - "color_value": ""  
86 - }  
87 - ],  
88 - "discount": {  
89 - "0.01,0.399": {  
90 - "count": 5175,  
91 - "name": "1~3"  
92 - },  
93 - "0.4,0.699": {  
94 - "count": 8563,  
95 - "name": "4~6"  
96 - },  
97 - "0.7,0.999": {  
98 - "count": 6003,  
99 - "name": "7~9"  
100 - }  
101 - },  
102 - "gender": {  
103 - "2,3": "GIRLS"  
104 - },  
105 - "group_sort": [  
106 - {  
107 - "category_id": "5",  
108 - "category_name": "上衣",  
109 - "node_count": 0,  
110 - "parent_id": "1",  
111 - "relation_parameter": {  
112 - "sort": "114,293,116,117,115,119,124,122,413,258,173,227,125,118,121,123"  
113 - },  
114 - "sort_ico": "http://img11.static.yhbimg.com/taobaocms/2015/09/01/14/01d48022e08742f1c96766caa6484593ce.jpg?imageView/{mode}/w/{width}/h/{height}",  
115 - "sub": [  
116 - {  
117 - "category_id": "45",  
118 - "category_name": "T恤",  
119 - "node_count": 0,  
120 - "parent_id": "5",  
121 - "relation_parameter": {  
122 - "sort": "114,293"  
123 - },  
124 - "sort_ico": ""  
125 - }  
126 - ]  
127 - }  
128 - ],  
129 - "priceRange": {  
130 - "0,339": "¥0-339",  
131 - "1300,99999": "¥1299以上",  
132 - "340,579": "¥340-579",  
133 - "580,1299": "¥580-1299"  
134 - },  
135 - "size": [  
136 - {  
137 - "size_id": 203,  
138 - "size_name": "M"  
139 - }  
140 - ]  
141 - },  
142 - "page": 1,  
143 - "page_total": 343,  
144 - "product_list": [  
145 - {  
146 - "brand_domain": "stage",  
147 - "brand_id": 131,  
148 - "brand_name": "STAGE",  
149 - "cn_alphabet": "STAGECRYSTALA5140301855",  
150 - "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/03/11/03/027a04bc79fa28dc58c1bc982bdbfb342b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
151 - "edit_time": 1463539056,  
152 - "gender": "3",  
153 - "goods_list": [  
154 - {  
155 - "color_code": "0000fe",  
156 - "color_id": "7",  
157 - "color_name": "蓝色",  
158 - "color_value": "",  
159 - "cover_1": "http://img13.static.yhbimg.com/goodsimg/2016/02/17/08/02f4dd16fd3c20d673e7b8f5f1b6853d8a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
160 - "cover_2": "http://img13.static.yhbimg.com/goodsimg/2016/03/11/03/027a04bc79fa28dc58c1bc982bdbfb342b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
161 - "goods_id": "401617",  
162 - "images_url": "http://img13.static.yhbimg.com/goodsimg/2015/12/15/07/02346cf5d86c99e3ea4dc996484439cc4a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
163 - "is_default": "Y",  
164 - "product_skc": "305105",  
165 - "status": "1"  
166 - }  
167 - ],  
168 - "is_advance": "N",  
169 - "is_discount": "Y",  
170 - "is_limited": "N",  
171 - "is_new": "Y",  
172 - "is_outlets": 2,  
173 - "is_promotion": 103,  
174 - "is_soon_sold_out": "N",  
175 - "is_special": "N",  
176 - "market_price": 358,  
177 - "max_sort_id": 7,  
178 - "middle_sort_id": 49,  
179 - "product_id": 312095,  
180 - "product_name": "STAGEBAG CRYSTAL BAG 水晶质感后背包",  
181 - "product_skn": 51173695,  
182 - "sales_num": 0,  
183 - "sales_phrase": "",  
184 - "sales_price": 199,  
185 - "shelve_time": 1463539056,  
186 - "small_sort_id": 152,  
187 - "status": 1,  
188 - "stock_number": 14,  
189 - "storage_num": 14,  
190 - "tags": [  
191 -  
192 - ],  
193 - "vip1_price": 189.04999999999998,  
194 - "vip2_price": 179.1,  
195 - "vip3_price": 175.12,  
196 - "vip_discount_type": 3,  
197 - "vip_price": 0  
198 - }  
199 - ],  
200 - "standard": [  
201 - {  
202 - "standard_id": "789",  
203 - "standard_name": "袖长",  
204 - "sub": [  
205 - {  
206 - "standard_id": "4447",  
207 - "standard_name": "短袖"  
208 - },  
209 - {  
210 - "standard_id": "4449",  
211 - "standard_name": "长袖"  
212 - },  
213 - {  
214 - "standard_id": "4448",  
215 - "standard_name": "7分袖"  
216 - },  
217 - {  
218 - "standard_id": "4740",  
219 - "standard_name": "无袖"  
220 - },  
221 - {  
222 - "standard_id": "5431",  
223 - "standard_name": "5分袖"  
224 - }  
225 - ]  
226 - }  
227 - ],  
228 - "total": 20558  
229 - },  
230 - "md5": "efbad90419cb2cf6e9171d195fc4f6af",  
231 - "message": "Sales Product List."  
232 -}  
233 -```  
234 -  
235 -## 断码区分类  
236 -method=app.sale.getBreakingSort  
237 -  
238 -#### 请求参数  
239 -  
240 -| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |  
241 -|:-------| -----:|-----:|-----:|-----:|----:|  
242 -|yh_channel|String|否|1|null|频道|  
243 -  
244 -  
245 -### 返回示例  
246 -  
247 -```json  
248 -{  
249 - "alg": "SALT_MD5",  
250 - "code": 200,  
251 - "data": [  
252 - {  
253 - "sort_id": "119,114,115,124,258,123,125,121,227,117,116,293,173,122,118,413,",  
254 - "sort_name": "上装",  
255 - "sub": [  
256 - {  
257 - "size_id": 203,  
258 - "size_name": "M"  
259 - }  
260 - ]  
261 - },  
262 - {  
263 - "sort_id": "129,130,131,346,133,348,",  
264 - "sort_name": "下装",  
265 - "sub": [  
266 - {  
267 - "size_id": 201,  
268 - "size_name": "L"  
269 - }  
270 - ]  
271 - },  
272 - {  
273 - "sort_id": "147,148,151,149,",  
274 - "sort_name": "鞋子",  
275 - "sub": [  
276 - {  
277 - "size_id": 125,  
278 - "size_name": "42码"  
279 - }  
280 - ]  
281 - },  
282 - {  
283 - "sort_id": "152,153,186,313,162,311,322,75,235,424,142,238,211,76,156,171,376,407,275,397,272,212,267,277,405,357,273,401,240,323,327,157,163,342,160,167,234,111,432,183,373,333,74,292,78,271,374,161,304,72,324,316,104,233,239,112,274,260,164,340,375,341,353,184,210,393,403,79,158,159,165,221,261,300,302,330,317,383,416,303,306,326,269,288,385,415,113,320,378,389,450,328,325,334,359,377,110,154,155,200,218,263,351,398,77,262,264,283,305,331,332,349,362,387,399,411,",  
284 - "sort_name": "其他",  
285 - "sub": [  
286 - {  
287 - "size_id": 205,  
288 - "size_name": "ml"  
289 - }  
290 - ]  
291 - }  
292 - ],  
293 - "md5": "ddbe5c29f29c0de0b6e453c33650fa02",  
294 - "message": "getBreakingSort List."  
295 -} 1 +## 活动列表接口
  2 +
  3 +method=app.activity.get
  4 +
  5 +### 请求参数
  6 +
  7 +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
  8 +|:-------| -----:|-----:|-----:|-----:|----:|
  9 +|id|Integer|是|1|null|活动id 为空表示查询全部活动|
  10 +|sort|String|否|2|null|活动类型(1--奥莱,2--sale)|
  11 +|platform|String|否|2|null|活动平台|
  12 +
  13 +### 返回示例
  14 +
  15 +```json
  16 +{
  17 + "alg": "SALT_MD5",
  18 + "code": 200,
  19 + "data": [
  20 + {
  21 + "cover_url": "http://img11.static.yhbimg.com/activity/2016/03/21/10/01169fd459663e35efd16caa082b04a8ee.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  22 + "id": 111,
  23 + "left_time": 82390943,
  24 + "logo_url": "http://img11.static.yhbimg.com/activity/2016/03/21/10/014af81f397544f76ede1ad6cf189c85fd.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  25 + "product_pool": 47,
  26 + "promotion_name": "",
  27 + "sort": "2",
  28 + "title": "SYJ-21号十四点过期",
  29 + "web_url": "http://img13.static.yhbimg.com/activity/2016/03/21/10/0282dbbc49c65e5d6fa922e40d8fe3d473.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80"
  30 + }
  31 + ],
  32 + "md5": "916b270abe0fd72796b8ec378820952d",
  33 + "message": "query activity List successed."
  34 +}
  35 +```
  36 +
  37 +## sale商品列表
  38 +method=app.search.sales
  39 +### 请求参数
  40 +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
  41 +|:-------| -----:|-----:|-----:|-----:|----:|
  42 +|p_d|String|是|1|null|折扣|
  43 +|yhChannel|String|是|2|null|频道|
  44 +|limit|Integer|是|10|null|显示数量|
  45 +|order|String|是|s_t_desc|null|排序|
  46 +|page|Integer|是|1|null|分页|
  47 +|gender|String|是|1|null|性别|
  48 +|sort|String|是|1|null|分类|
  49 +|brand|String|是|111|null|品牌|
  50 +|color|String|是|1|null|颜色|
  51 +|size|String|是|1|null|尺码|
  52 +|saleType|String|是|1|null|1表示断码区,2表示会员专区,3 折扣专区,4表示奥莱|
  53 +|breakSize|String|是|1|null|当为断码区的时候,ios调接口不好处理,传此字段再统一处理|
  54 +|breakSort|String|是|1|null|当为断码区的时候,ios调接口不好处理,传此字段再统一处理|
  55 +|productPool|String|是|1|null|商品池|
  56 +|price|String|是|1|null|价格|
  57 +
  58 +### 返回示例
  59 +
  60 +```json
  61 +{
  62 + "alg": "SALT_MD5",
  63 + "code": 200,
  64 + "data": {
  65 + "filter": {
  66 + "brand": [
  67 + {
  68 + "brand_alif": "C",
  69 + "brand_domain": "chuyu",
  70 + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/03/09/16/02fd8ba524192ba622c6a61f6df4745b7f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  71 + "brand_keyword": "初语,原创,服装",
  72 + "brand_name": "初语",
  73 + "brand_name_cn": "初语",
  74 + "brand_name_en": "TOYOUTH",
  75 + "hot_keyword": "初语",
  76 + "id": 866,
  77 + "is_hot": "Y"
  78 + }
  79 + ],
  80 + "color": [
  81 + {
  82 + "color_code": "333333",
  83 + "color_id": 2,
  84 + "color_name": "黑色",
  85 + "color_value": ""
  86 + }
  87 + ],
  88 + "discount": {
  89 + "0.01,0.399": {
  90 + "count": 5175,
  91 + "name": "1~3"
  92 + },
  93 + "0.4,0.699": {
  94 + "count": 8563,
  95 + "name": "4~6"
  96 + },
  97 + "0.7,0.999": {
  98 + "count": 6003,
  99 + "name": "7~9"
  100 + }
  101 + },
  102 + "gender": {
  103 + "2,3": "GIRLS"
  104 + },
  105 + "group_sort": [
  106 + {
  107 + "category_id": "5",
  108 + "category_name": "上衣",
  109 + "node_count": 0,
  110 + "parent_id": "1",
  111 + "relation_parameter": {
  112 + "sort": "114,293,116,117,115,119,124,122,413,258,173,227,125,118,121,123"
  113 + },
  114 + "sort_ico": "http://img11.static.yhbimg.com/taobaocms/2015/09/01/14/01d48022e08742f1c96766caa6484593ce.jpg?imageView/{mode}/w/{width}/h/{height}",
  115 + "sub": [
  116 + {
  117 + "category_id": "45",
  118 + "category_name": "T恤",
  119 + "node_count": 0,
  120 + "parent_id": "5",
  121 + "relation_parameter": {
  122 + "sort": "114,293"
  123 + },
  124 + "sort_ico": ""
  125 + }
  126 + ]
  127 + }
  128 + ],
  129 + "priceRange": {
  130 + "0,339": "¥0-339",
  131 + "1300,99999": "¥1299以上",
  132 + "340,579": "¥340-579",
  133 + "580,1299": "¥580-1299"
  134 + },
  135 + "size": [
  136 + {
  137 + "size_id": 203,
  138 + "size_name": "M"
  139 + }
  140 + ]
  141 + },
  142 + "page": 1,
  143 + "page_total": 343,
  144 + "product_list": [
  145 + {
  146 + "brand_domain": "stage",
  147 + "brand_id": 131,
  148 + "brand_name": "STAGE",
  149 + "cn_alphabet": "STAGECRYSTALA5140301855",
  150 + "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/03/11/03/027a04bc79fa28dc58c1bc982bdbfb342b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  151 + "edit_time": 1463539056,
  152 + "gender": "3",
  153 + "goods_list": [
  154 + {
  155 + "color_code": "0000fe",
  156 + "color_id": "7",
  157 + "color_name": "蓝色",
  158 + "color_value": "",
  159 + "cover_1": "http://img13.static.yhbimg.com/goodsimg/2016/02/17/08/02f4dd16fd3c20d673e7b8f5f1b6853d8a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  160 + "cover_2": "http://img13.static.yhbimg.com/goodsimg/2016/03/11/03/027a04bc79fa28dc58c1bc982bdbfb342b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  161 + "goods_id": "401617",
  162 + "images_url": "http://img13.static.yhbimg.com/goodsimg/2015/12/15/07/02346cf5d86c99e3ea4dc996484439cc4a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  163 + "is_default": "Y",
  164 + "product_skc": "305105",
  165 + "status": "1"
  166 + }
  167 + ],
  168 + "is_advance": "N",
  169 + "is_discount": "Y",
  170 + "is_limited": "N",
  171 + "is_new": "Y",
  172 + "is_outlets": 2,
  173 + "is_promotion": 103,
  174 + "is_soon_sold_out": "N",
  175 + "is_special": "N",
  176 + "market_price": 358,
  177 + "max_sort_id": 7,
  178 + "middle_sort_id": 49,
  179 + "product_id": 312095,
  180 + "product_name": "STAGEBAG CRYSTAL BAG 水晶质感后背包",
  181 + "product_skn": 51173695,
  182 + "sales_num": 0,
  183 + "sales_phrase": "",
  184 + "sales_price": 199,
  185 + "shelve_time": 1463539056,
  186 + "small_sort_id": 152,
  187 + "status": 1,
  188 + "stock_number": 14,
  189 + "storage_num": 14,
  190 + "tags": [
  191 +
  192 + ],
  193 + "vip1_price": 189.04999999999998,
  194 + "vip2_price": 179.1,
  195 + "vip3_price": 175.12,
  196 + "vip_discount_type": 3,
  197 + "vip_price": 0
  198 + }
  199 + ],
  200 + "standard": [
  201 + {
  202 + "standard_id": "789",
  203 + "standard_name": "袖长",
  204 + "sub": [
  205 + {
  206 + "standard_id": "4447",
  207 + "standard_name": "短袖"
  208 + },
  209 + {
  210 + "standard_id": "4449",
  211 + "standard_name": "长袖"
  212 + },
  213 + {
  214 + "standard_id": "4448",
  215 + "standard_name": "7分袖"
  216 + },
  217 + {
  218 + "standard_id": "4740",
  219 + "standard_name": "无袖"
  220 + },
  221 + {
  222 + "standard_id": "5431",
  223 + "standard_name": "5分袖"
  224 + }
  225 + ]
  226 + }
  227 + ],
  228 + "total": 20558
  229 + },
  230 + "md5": "efbad90419cb2cf6e9171d195fc4f6af",
  231 + "message": "Sales Product List."
  232 +}
  233 +```
  234 +
  235 +## 断码区分类
  236 +method=app.sale.getBreakingSort
  237 +
  238 +#### 请求参数
  239 +
  240 +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
  241 +|:-------| -----:|-----:|-----:|-----:|----:|
  242 +|yh_channel|String|否|1|null|频道|
  243 +
  244 +
  245 +### 返回示例
  246 +
  247 +```json
  248 +{
  249 + "alg": "SALT_MD5",
  250 + "code": 200,
  251 + "data": [
  252 + {
  253 + "sort_id": "119,114,115,124,258,123,125,121,227,117,116,293,173,122,118,413,",
  254 + "sort_name": "上装",
  255 + "sub": [
  256 + {
  257 + "size_id": 203,
  258 + "size_name": "M"
  259 + }
  260 + ]
  261 + },
  262 + {
  263 + "sort_id": "129,130,131,346,133,348,",
  264 + "sort_name": "下装",
  265 + "sub": [
  266 + {
  267 + "size_id": 201,
  268 + "size_name": "L"
  269 + }
  270 + ]
  271 + },
  272 + {
  273 + "sort_id": "147,148,151,149,",
  274 + "sort_name": "鞋子",
  275 + "sub": [
  276 + {
  277 + "size_id": 125,
  278 + "size_name": "42码"
  279 + }
  280 + ]
  281 + },
  282 + {
  283 + "sort_id": "152,153,186,313,162,311,322,75,235,424,142,238,211,76,156,171,376,407,275,397,272,212,267,277,405,357,273,401,240,323,327,157,163,342,160,167,234,111,432,183,373,333,74,292,78,271,374,161,304,72,324,316,104,233,239,112,274,260,164,340,375,341,353,184,210,393,403,79,158,159,165,221,261,300,302,330,317,383,416,303,306,326,269,288,385,415,113,320,378,389,450,328,325,334,359,377,110,154,155,200,218,263,351,398,77,262,264,283,305,331,332,349,362,387,399,411,",
  284 + "sort_name": "其他",
  285 + "sub": [
  286 + {
  287 + "size_id": 205,
  288 + "size_name": "ml"
  289 + }
  290 + ]
  291 + }
  292 + ],
  293 + "md5": "ddbe5c29f29c0de0b6e453c33650fa02",
  294 + "message": "getBreakingSort List."
  295 +}
296 ``` 296 ```