Showing
1 changed file
with
258 additions
and
0 deletions
@@ -134,4 +134,262 @@ method=app.search.fuzzy | @@ -134,4 +134,262 @@ method=app.search.fuzzy | ||
134 | } | 134 | } |
135 | ``` | 135 | ``` |
136 | 136 | ||
137 | +## 关键词搜索商品列表 | ||
138 | +method=app.search.li | ||
139 | +### 请求参数 | ||
140 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
141 | +| :---------- | ------: | ---: | -------: | ---: | ----------------------------: | | ||
142 | +| p_d | String | 是 | 1 | null | 折扣 | | ||
143 | +| yhChannel | String | 是 | 2 | null | 频道 | | ||
144 | +| limit | Integer | 是 | 10 | null | 显示数量 | | ||
145 | +| order | String | 是 | s_t_desc | null | 排序 | | ||
146 | +| page | Integer | 是 | 1 | null | 分页 | | ||
147 | +| gender | String | 是 | 1 | null | 性别 | | ||
148 | +| msort | String | 是 | 1 | null | 一级分类 | | ||
149 | +| misort | String | 是 | 1 | null | 二级分类 | | ||
150 | +| sort | String | 是 | 1 | null | 三级分类 | | ||
151 | +| brand | String | 是 | 111 | null | 品牌 | | ||
152 | +| shop_id | String | 是 | 111 | null | 店铺id | | ||
153 | +| color | String | 是 | 1 | null | 颜色 | | ||
154 | +| size | String | 是 | 1 | null | 尺码 | | ||
155 | +| from | String | 是 | 1 | null | 来源(暂时无用) | | ||
156 | +| promotion | String | 是 | 1 | null | 促销 | | ||
157 | +| outlets | Integer | 是 | 2 | null | 是否为outlets 1为是,2为否 | | ||
158 | +| price | String | 是 | 1 | null | 价格 | | ||
137 | 159 | ||
160 | +### 返回示例 | ||
161 | +```json | ||
162 | +{ | ||
163 | + "alg": "SALT_MD5", | ||
164 | + "code": 200, | ||
165 | + "data": { | ||
166 | + "brand": { | ||
167 | + "brand_banner": "", | ||
168 | + "brand_domain": "HLZJ", | ||
169 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
170 | + "brand_name": "海澜之家", | ||
171 | + "id": 1545 | ||
172 | + }, | ||
173 | + "filter": { | ||
174 | + "brand": [ | ||
175 | + { | ||
176 | + "brand_alif": "H", | ||
177 | + "brand_domain": "HLZJ", | ||
178 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2016/06/01/10/01b40859bff6c925785b363b8c6e294d1b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
179 | + "brand_keyword": "", | ||
180 | + "brand_name": "海澜之家", | ||
181 | + "brand_name_cn": "海澜之家", | ||
182 | + "brand_name_en": "HLZJ", | ||
183 | + "hot_keyword": "", | ||
184 | + "id": 1545, | ||
185 | + "is_hot": "N" | ||
186 | + } | ||
187 | + ], | ||
188 | + "color": [ | ||
189 | + { | ||
190 | + "color_code": "120322", | ||
191 | + "color_id": 97, | ||
192 | + "color_name": "damao-蓝色" | ||
193 | + } | ||
194 | + ], | ||
195 | + "discount": { | ||
196 | + "0.4,0.699": { | ||
197 | + "count": 1, | ||
198 | + "name": "4~6" | ||
199 | + } | ||
200 | + }, | ||
201 | + "gender": { | ||
202 | + "1,3": "BOYS" | ||
203 | + }, | ||
204 | + "priceRange": { | ||
205 | + "0,11": "¥0-11", | ||
206 | + "12,99999": "¥11以上" | ||
207 | + }, | ||
208 | + "size": [ | ||
209 | + { | ||
210 | + "size_id": 207, | ||
211 | + "size_name": "S" | ||
212 | + } | ||
213 | + ] | ||
214 | + }, | ||
215 | + "page": 1, | ||
216 | + "page_total": 1, | ||
217 | + "product_list": [ | ||
218 | + { | ||
219 | + "brand_domain": "HLZJ", | ||
220 | + "brand_id": 1545, | ||
221 | + "brand_name": "海澜之家", | ||
222 | + "cn_alphabet": "damao-zaicishangjiatongguo11", | ||
223 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2016/04/05/12/010b59cc1fd2bf0eae068fad505f62e9e0.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
224 | + "edit_time": 1464749217, | ||
225 | + "gender": "1", | ||
226 | + "goods_list": [ | ||
227 | + { | ||
228 | + "color_code": "120322", | ||
229 | + "color_id": "97", | ||
230 | + "color_name": "damao-蓝色", | ||
231 | + "color_value": "", | ||
232 | + "cover_1": "", | ||
233 | + "cover_2": "", | ||
234 | + "goods_id": "455018", | ||
235 | + "images_url": "http://img10.static.yhbimg.com/goodsimg/2016/04/05/12/010b59cc1fd2bf0eae068fad505f62e9e0.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
236 | + "is_default": "Y", | ||
237 | + "product_skc": "387741", | ||
238 | + "status": "1" | ||
239 | + } | ||
240 | + ], | ||
241 | + "is_advance": "Y", | ||
242 | + "is_discount": "Y", | ||
243 | + "is_global": "N", | ||
244 | + "is_limited": "N", | ||
245 | + "is_new": "N", | ||
246 | + "is_outlets": 2, | ||
247 | + "is_promotion": 0, | ||
248 | + "is_soon_sold_out": "N", | ||
249 | + "market_price": 22, | ||
250 | + "max_sort_id": 1, | ||
251 | + "middle_sort_id": 11, | ||
252 | + "product_id": 356360, | ||
253 | + "product_name": "damao-再次上架通过11", | ||
254 | + "product_skn": 51249787, | ||
255 | + "sales_num": 0, | ||
256 | + "sales_phrase": "asdasd", | ||
257 | + "sales_price": 11, | ||
258 | + "shelve_time": 1463647116, | ||
259 | + "small_sort_id": 293, | ||
260 | + "status": 1, | ||
261 | + "stock_number": 178, | ||
262 | + "storage_num": 178, | ||
263 | + "tags": [ | ||
264 | + | ||
265 | + ], | ||
266 | + "vip1_price": 10.45, | ||
267 | + "vip2_price": 9.9, | ||
268 | + "vip3_price": 9.68, | ||
269 | + "vip_discount_type": 3, | ||
270 | + "vip_price": 0 | ||
271 | + } | ||
272 | + ], | ||
273 | + "shop": [ | ||
274 | + { | ||
275 | + "mult_brand_shop_type": "2", | ||
276 | + "shop_domain": "mlohas", | ||
277 | + "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", | ||
278 | + "shop_name": "MLOHAS", | ||
279 | + "shop_template_type": "", | ||
280 | + "shops_id": 431, | ||
281 | + "shops_type": "2" | ||
282 | + }, | ||
283 | + { | ||
284 | + "mult_brand_shop_type": "2", | ||
285 | + "shop_domain": "shop2", | ||
286 | + "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", | ||
287 | + "shop_name": "差异单测试店铺二", | ||
288 | + "shop_template_type": "", | ||
289 | + "shops_id": 640, | ||
290 | + "shops_type": "2" | ||
291 | + }, | ||
292 | + { | ||
293 | + "mult_brand_shop_type": "2", | ||
294 | + "shop_domain": "ewrre", | ||
295 | + "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", | ||
296 | + "shop_name": "feng-测试", | ||
297 | + "shop_template_type": "", | ||
298 | + "shops_id": 649, | ||
299 | + "shops_type": "2" | ||
300 | + }, | ||
301 | + { | ||
302 | + "mult_brand_shop_type": "2", | ||
303 | + "shop_domain": "eytty", | ||
304 | + "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", | ||
305 | + "shop_name": "重头再来", | ||
306 | + "shop_template_type": "", | ||
307 | + "shops_id": 651, | ||
308 | + "shops_type": "2" | ||
309 | + }, | ||
310 | + { | ||
311 | + "mult_brand_shop_type": "2", | ||
312 | + "shop_domain": "hp", | ||
313 | + "shop_logo": "http:///yhb-img01?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
314 | + "shop_name": "happy day", | ||
315 | + "shop_template_type": "2", | ||
316 | + "shops_id": 698, | ||
317 | + "shops_type": "2" | ||
318 | + }, | ||
319 | + { | ||
320 | + "mult_brand_shop_type": "2", | ||
321 | + "shop_domain": "hailan", | ||
322 | + "shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/06/01/10/01bf5208a3b4a94a3d34725e26e69a05fd.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
323 | + "shop_name": "海澜之家", | ||
324 | + "shop_template_type": "2", | ||
325 | + "shops_id": 702, | ||
326 | + "shops_type": "2" | ||
327 | + }, | ||
328 | + { | ||
329 | + "mult_brand_shop_type": "2", | ||
330 | + "shop_domain": "sctest4", | ||
331 | + "shop_logo": "http://img11.static.yhbimg.com/yhb-img01/2016/06/06/21/01fa2dbe4d1c247662d609a06d85573ebb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
332 | + "shop_name": "sctest4", | ||
333 | + "shop_template_type": "2", | ||
334 | + "shops_id": 704, | ||
335 | + "shops_type": "2" | ||
336 | + } | ||
337 | + ], | ||
338 | + "standard": [ | ||
339 | + { | ||
340 | + "standard_id": "796", | ||
341 | + "standard_name": "版型", | ||
342 | + "sub": [ | ||
343 | + { | ||
344 | + "standard_id": "4488", | ||
345 | + "standard_name": "正常" | ||
346 | + } | ||
347 | + ] | ||
348 | + }, | ||
349 | + { | ||
350 | + "standard_id": "797", | ||
351 | + "standard_name": "厚度", | ||
352 | + "sub": [ | ||
353 | + { | ||
354 | + "standard_id": "4491", | ||
355 | + "standard_name": "中" | ||
356 | + } | ||
357 | + ] | ||
358 | + }, | ||
359 | + { | ||
360 | + "standard_id": "794", | ||
361 | + "standard_name": "衣长", | ||
362 | + "sub": [ | ||
363 | + { | ||
364 | + "standard_id": "4481", | ||
365 | + "standard_name": "短款" | ||
366 | + } | ||
367 | + ] | ||
368 | + }, | ||
369 | + { | ||
370 | + "standard_id": "795", | ||
371 | + "standard_name": "袖长", | ||
372 | + "sub": [ | ||
373 | + { | ||
374 | + "standard_id": "4486", | ||
375 | + "standard_name": "长袖" | ||
376 | + } | ||
377 | + ] | ||
378 | + }, | ||
379 | + { | ||
380 | + "standard_id": "793", | ||
381 | + "standard_name": "领型", | ||
382 | + "sub": [ | ||
383 | + { | ||
384 | + "standard_id": "4476", | ||
385 | + "standard_name": "v领" | ||
386 | + } | ||
387 | + ] | ||
388 | + } | ||
389 | + ], | ||
390 | + "total": 1 | ||
391 | + }, | ||
392 | + "md5": "19d64ebb7f9874caea892ad076bb61b6", | ||
393 | + "message": "Search List." | ||
394 | +} | ||
395 | +``` |
-
Please register or login to post a comment