product 商品详情页 gateway search 接口文档整理
Showing
1 changed file
with
1860 additions
and
0 deletions
@@ -2254,3 +2254,1863 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | @@ -2254,3 +2254,1863 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2254 | ``` | 2254 | ``` |
2255 | 2255 | ||
2256 | 2256 | ||
2257 | +## 7、品牌热搜词## | ||
2258 | + | ||
2259 | +(method=app.search.hotBrands) | ||
2260 | +请求方式:GET | ||
2261 | +#### 请求参数 | ||
2262 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2263 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2264 | + | ||
2265 | +注意,通用的头部没有列出。 | ||
2266 | +请求示例 | ||
2267 | +http://54.222.221.243/?app_version=5.0.0.1609300001&client_secret=977e6928ab5118b5d644e1bc1f244d43&client_type=iphone&fromPage=iFP_SearchProList&method=app.search.hotBrands&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7 | ||
2268 | + | ||
2269 | +### 响应 | ||
2270 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2271 | +响应JSON格式如下所示: | ||
2272 | +```json | ||
2273 | +{ | ||
2274 | + "alg": "SALT_MD5", | ||
2275 | + "code": 200, | ||
2276 | + "data": [ | ||
2277 | + { | ||
2278 | + "brandName": "NIKE", | ||
2279 | + "brandDomain": "", | ||
2280 | + "brandId": 248, | ||
2281 | + "orderBy": 3 | ||
2282 | + }, | ||
2283 | + { | ||
2284 | + "brandName": "STAYREAL", | ||
2285 | + "brandDomain": "stayreal", | ||
2286 | + "brandId": 197, | ||
2287 | + "orderBy": 2 | ||
2288 | + }, | ||
2289 | + { | ||
2290 | + "brandName": "5CM", | ||
2291 | + "brandDomain": "5cm", | ||
2292 | + "brandId": 4, | ||
2293 | + "orderBy": 1 | ||
2294 | + } | ||
2295 | + ], | ||
2296 | + "md5": "0cdcf653ec6deb26b481a64621e48a3b", | ||
2297 | + "message": "HotSearchBrand List" | ||
2298 | +} | ||
2299 | +``` | ||
2300 | + | ||
2301 | + | ||
2302 | +## 8、品牌热搜词记录## | ||
2303 | + | ||
2304 | +(method=app.search.hotBrandRecords) | ||
2305 | +请求方式:GET | ||
2306 | +#### 请求参数 | ||
2307 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2308 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2309 | +|uid|String|是|15545752|null|用户ID| | ||
2310 | +|records|String[]|否|["时间戳品牌_brandDomainbrandId"]|null|状态| | ||
2311 | + | ||
2312 | +注意,通用的头部没有列出。 | ||
2313 | +请求示例 | ||
2314 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.hotBrandRecords&debug=XYZ&uid=9999&records | ||
2315 | + | ||
2316 | +### 响应 | ||
2317 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2318 | +响应JSON格式如下所示: | ||
2319 | +```json | ||
2320 | +{ | ||
2321 | + "alg": "SALT_MD5", | ||
2322 | + "code": 200, | ||
2323 | + "data": [ | ||
2324 | + { | ||
2325 | + "searchTerms": "test-chen", | ||
2326 | + "searchTime": 1452043863, | ||
2327 | + "brandId": 1616, | ||
2328 | + "brandDomain": "" | ||
2329 | + }, | ||
2330 | + { | ||
2331 | + "searchTerms": "test-cc", | ||
2332 | + "searchTime": 1452043873 | ||
2333 | + } | ||
2334 | + ], | ||
2335 | + "md5": "e24c0c724646c486236bf24b7cb2a9a5", | ||
2336 | + "message": "success" | ||
2337 | +} | ||
2338 | +``` | ||
2339 | + | ||
2340 | + | ||
2341 | +## 9、清除品牌热搜词记录## | ||
2342 | + | ||
2343 | +(method=app.search.clearHotBrandRecords) | ||
2344 | +请求方式:GET | ||
2345 | +#### 请求参数 | ||
2346 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2347 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2348 | +|uid|String|是|15545752|null|用户ID| | ||
2349 | + | ||
2350 | +注意,通用的头部没有列出。 | ||
2351 | +请求示例 | ||
2352 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.clearHotBrandRecords&debug=XYZ&uid=9999 | ||
2353 | + | ||
2354 | +### 响应 | ||
2355 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2356 | +响应JSON格式如下所示: | ||
2357 | +```json | ||
2358 | +{ | ||
2359 | + "alg": "SALT_MD5", | ||
2360 | + "code": 200, | ||
2361 | + "md5": "89445294eb4487a1233cff63b1df01e7", | ||
2362 | + "message": "brand info" | ||
2363 | +} | ||
2364 | +``` | ||
2365 | + | ||
2366 | + | ||
2367 | +## 10、查询断码区分类和尺码## | ||
2368 | + | ||
2369 | +(method=app.sale.getBreakingSort) | ||
2370 | +请求方式:GET | ||
2371 | +#### 请求参数 | ||
2372 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2373 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2374 | +|yh_channel|String|是|1|null|频道(1或2、3)| | ||
2375 | + | ||
2376 | +注意,通用的头部没有列出。 | ||
2377 | +请求示例 | ||
2378 | +http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=b02500dc44cbe42c066fbb6da079ce45&client_type=iphone&fromPage=iFP_ShortSizeProList&method=app.sale.getBreakingSort&os_version=10.0.2&screen_size=375x667&v=7&yh_channel=1 | ||
2379 | + | ||
2380 | +### 响应 | ||
2381 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2382 | +响应JSON格式如下所示: | ||
2383 | +```json | ||
2384 | +{ | ||
2385 | + "alg": "SALT_MD5", | ||
2386 | + "code": 200, | ||
2387 | + "data": [ | ||
2388 | + { | ||
2389 | + "sub": [ | ||
2390 | + { | ||
2391 | + "size_name": "XL", | ||
2392 | + "order_by": 1163, | ||
2393 | + "size_id": 211 | ||
2394 | + }, | ||
2395 | + { | ||
2396 | + "size_name": "40", | ||
2397 | + "order_by": 1879, | ||
2398 | + "size_id": 113 | ||
2399 | + }, | ||
2400 | + { | ||
2401 | + "size_name": "52", | ||
2402 | + "order_by": 1825, | ||
2403 | + "size_id": 271 | ||
2404 | + } | ||
2405 | + ], | ||
2406 | + "sort_name": "上装", | ||
2407 | + "max_sort_id": "1", | ||
2408 | + "sort_id": "114,115,119,124,258,117,116,125,227,122,123,121,118,413,173," | ||
2409 | + }, | ||
2410 | + { | ||
2411 | + "sub": [ | ||
2412 | + { | ||
2413 | + "size_name": "L", | ||
2414 | + "order_by": 1169, | ||
2415 | + "size_id": 201 | ||
2416 | + }, | ||
2417 | + { | ||
2418 | + "size_name": "34/30", | ||
2419 | + "order_by": 350, | ||
2420 | + "size_id": 350 | ||
2421 | + }, | ||
2422 | + { | ||
2423 | + "size_name": "30R", | ||
2424 | + "order_by": 0, | ||
2425 | + "size_id": 529 | ||
2426 | + } | ||
2427 | + ], | ||
2428 | + "sort_name": "下装", | ||
2429 | + "max_sort_id": "3", | ||
2430 | + "sort_id": "129,131,130,346,348,133," | ||
2431 | + }, | ||
2432 | + { | ||
2433 | + "sub": [ | ||
2434 | + { | ||
2435 | + "size_name": "41/42", | ||
2436 | + "order_by": 373, | ||
2437 | + "size_id": 373 | ||
2438 | + }, | ||
2439 | + { | ||
2440 | + "size_name": "39/40", | ||
2441 | + "order_by": 308, | ||
2442 | + "size_id": 308 | ||
2443 | + }, | ||
2444 | + { | ||
2445 | + "size_name": "43-44", | ||
2446 | + "order_by": 128, | ||
2447 | + "size_id": 128 | ||
2448 | + }, | ||
2449 | + { | ||
2450 | + "size_name": "35-36", | ||
2451 | + "order_by": 89, | ||
2452 | + "size_id": 89 | ||
2453 | + }, | ||
2454 | + { | ||
2455 | + "size_name": "37-38", | ||
2456 | + "order_by": 99, | ||
2457 | + "size_id": 99 | ||
2458 | + }, | ||
2459 | + { | ||
2460 | + "size_name": "41-42", | ||
2461 | + "order_by": 120, | ||
2462 | + "size_id": 120 | ||
2463 | + }, | ||
2464 | + { | ||
2465 | + "size_name": "L", | ||
2466 | + "order_by": 1169, | ||
2467 | + "size_id": 201 | ||
2468 | + }, | ||
2469 | + { | ||
2470 | + "size_name": "38-39", | ||
2471 | + "order_by": 324, | ||
2472 | + "size_id": 324 | ||
2473 | + }, | ||
2474 | + { | ||
2475 | + "size_name": "37 1/3码", | ||
2476 | + "order_by": 365, | ||
2477 | + "size_id": 365 | ||
2478 | + } | ||
2479 | + ], | ||
2480 | + "sort_name": "鞋子", | ||
2481 | + "max_sort_id": "6", | ||
2482 | + "sort_id": "147,149,151,148," | ||
2483 | + }, | ||
2484 | + { | ||
2485 | + "sub": [ | ||
2486 | + { | ||
2487 | + "size_name": "24英寸", | ||
2488 | + "order_by": 1396, | ||
2489 | + "size_id": 52 | ||
2490 | + }, | ||
2491 | + { | ||
2492 | + "size_name": "20英寸", | ||
2493 | + "order_by": 356, | ||
2494 | + "size_id": 356 | ||
2495 | + } | ||
2496 | + ], | ||
2497 | + "sort_name": "其他", | ||
2498 | + "max_sort_id": "0", | ||
2499 | + "sort_id": "152,186,153,162,235,322,142,311,75,238,76,156,240,74,260,264,323,324,78,161,72,157,160,163,303,340,342,210,233,79,330,239,327,305,306,341,316,261,321,300,320,164,262,349,263,329,77,218,351,357,295,326,328," | ||
2500 | + } | ||
2501 | + ], | ||
2502 | + "md5": "13b43adb8576b71cbb40dc76070dc5b3", | ||
2503 | + "message": "getBreakingSort List." | ||
2504 | +} | ||
2505 | +``` | ||
2506 | + | ||
2507 | + | ||
2508 | +## 11、奥莱潮品速递的商品列表 ,按照库存+销量由高到低排序(order=storageNum:desc,sales_num:desc),过滤无货商品(stocknumber=1),固定30个## | ||
2509 | + | ||
2510 | +(method=app.search.trend) | ||
2511 | +请求方式:GET | ||
2512 | +#### 请求参数 | ||
2513 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2514 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2515 | +|yh_channel|String|是|3|null|频道 假如传值1 则需要查询1,3 假如查询2 则需要查询2,3| | ||
2516 | +|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序| | ||
2517 | +|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用| | ||
2518 | +|stocknumber|int|是|1|1|库存 如 “stocknumber=2”,则过滤出库存量>=2的商品| | ||
2519 | +|limit|int|是|60|null|每页展示条数| | ||
2520 | +|outlets|int|是|null|1|outlets=1 奥莱商品 outlets=2非奥莱商品| | ||
2521 | +|app_version|String|是|null|4.9.2.1609120001|版本号| | ||
2522 | +|client_type|String|是|iphone|null|客户端类型| | ||
2523 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
2524 | + | ||
2525 | +注意,通用的头部没有列出。 | ||
2526 | +请求示例 | ||
2527 | + | ||
2528 | +### 响应 | ||
2529 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2530 | +响应JSON格式如下所示: | ||
2531 | + | ||
2532 | + | ||
2533 | +## 12、支付分期的专享列表## | ||
2534 | + | ||
2535 | +(method=app.search.instalment) | ||
2536 | +请求方式:GET | ||
2537 | +#### 请求参数 | ||
2538 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2539 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2540 | +|query|String|是|null|null|关键字| | ||
2541 | +|yh_channel|String|是|3|null|频道 假如传值1 则需要查询1,3 假如查询2 则需要查询2,3| | ||
2542 | +|limit|int|是|60|null|每页展示条数| | ||
2543 | +|page|int|是|1|null|当前页数 从1开始| | ||
2544 | +|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用| | ||
2545 | +|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型| | ||
2546 | +|client_type|String|是|iphone|null|客户端类型| | ||
2547 | +|msort|String|是|null|null|产品大分类Id| | ||
2548 | +|misort|String|是|null|null|产品中分类Id| | ||
2549 | +|brand|String|是|null|null|品牌ID(多个以逗号分隔)| | ||
2550 | +|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”| | ||
2551 | +|size|String|是|null|null|尺寸ID(多个以逗号分隔)| | ||
2552 | +|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔| | ||
2553 | +|color|String|是|null|null|颜色ID(多个以逗号分隔)| | ||
2554 | +|p_d|String|是|0.7|null|促销折扣浮点值如0.7| | ||
2555 | + | ||
2556 | +注意,通用的头部没有列出。 | ||
2557 | +请求示例 | ||
2558 | + | ||
2559 | +### 响应 | ||
2560 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2561 | +响应JSON格式如下所示: | ||
2562 | + | ||
2563 | + | ||
2564 | +## 13、首页猜你喜欢## | ||
2565 | + | ||
2566 | +(method=app.search.last7day) | ||
2567 | +请求方式:GET | ||
2568 | +#### 请求参数 | ||
2569 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2570 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2571 | +|yh_channel|String|是|3|null|频道 假如传值1,则需要查询1,3;假如查询2,则需要查询2,3| | ||
2572 | +|limit|int|是|60|null|每页展示条数| | ||
2573 | +|page|int|是|1|null|当前页数 从1开始| | ||
2574 | +|gender|String|是|1,3|null|性别,以逗号分隔 1代表男 2代表女 3代表通用| | ||
2575 | +|content_code|String|是|null|null|内容码| | ||
2576 | +|client_type|String|是|iphone|null|客户端类型| | ||
2577 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
2578 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
2579 | + | ||
2580 | +注意,通用的头部没有列出。 | ||
2581 | +请求示例 | ||
2582 | + | ||
2583 | +### 响应 | ||
2584 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2585 | +响应JSON格式如下所示: | ||
2586 | + | ||
2587 | + | ||
2588 | +## 14、创意生活频道商品搜索## | ||
2589 | + | ||
2590 | +(method=app.search.lifeStyle) | ||
2591 | +请求方式:GET | ||
2592 | +#### 请求参数 | ||
2593 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2594 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2595 | +|client_type|String|是|iphone|null|客户端类型| | ||
2596 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
2597 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
2598 | + | ||
2599 | +注意,通用的头部没有列出。 | ||
2600 | +请求示例 | ||
2601 | +http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=fe64a9c70e1cdd98255ca51631365e9d&client_type=iphone&fromPage=iFP_Home&method=app.search.lifeStyle&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7 | ||
2602 | + | ||
2603 | +### 响应 | ||
2604 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2605 | +响应JSON格式如下所示: | ||
2606 | +```json | ||
2607 | +{ | ||
2608 | + "alg": "SALT_MD5", | ||
2609 | + "code": 200, | ||
2610 | + "data": { | ||
2611 | + "product_list": { | ||
2612 | + "new": [ | ||
2613 | + { | ||
2614 | + "small_sort_id": 260, | ||
2615 | + "vip1_price": 30.4, | ||
2616 | + "gender": "1", | ||
2617 | + "vip3_price": 28.16, | ||
2618 | + "is_global": "N", | ||
2619 | + "is_outlets": 2, | ||
2620 | + "is_discount": "Y", | ||
2621 | + "brand_domain": "chettirouge", | ||
2622 | + "is_special": "N", | ||
2623 | + "goods_list": [ | ||
2624 | + { | ||
2625 | + "color_id": "15", | ||
2626 | + "product_skc": "134728", | ||
2627 | + "cover_1": "", | ||
2628 | + "goods_id": "97599", | ||
2629 | + "images_url": "http://img11.static.yhbimg.com/goodsimg/2014/05/22/01/01b4a4e8e0ad343e405627fa3023434174.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2630 | + "color_name": "彩色", | ||
2631 | + "cover_2": "", | ||
2632 | + "color_value": "", | ||
2633 | + "is_default": "N", | ||
2634 | + "color_code": "#fffff", | ||
2635 | + "status": "1" | ||
2636 | + } | ||
2637 | + ], | ||
2638 | + "vip_discount_type": 3, | ||
2639 | + "product_id": 64127, | ||
2640 | + "is_advance": "N", | ||
2641 | + "sales_num": 240, | ||
2642 | + "cn_alphabet": "CRXuanDiXinShengJingZhiZhuanYeNanShiMianRuHuanBaiLvXingZhuang758520", | ||
2643 | + "product_skn": 51035462, | ||
2644 | + "shelve_time": 1472176655, | ||
2645 | + "vip2_price": 28.8, | ||
2646 | + "age_level": "1", | ||
2647 | + "is_student_price": "N", | ||
2648 | + "edit_time": 1472176655, | ||
2649 | + "is_new": "N", | ||
2650 | + "is_limited": "N", | ||
2651 | + "brand_name": "Chetti Rouge轩谛", | ||
2652 | + "max_sort_id": 10, | ||
2653 | + "product_name": "Chetti Rouge轩谛 新笙净致专业男士面乳(焕白)-旅行装 (25ml)", | ||
2654 | + "brand_id": 30, | ||
2655 | + "tags": [], | ||
2656 | + "default_images": "http://img11.static.yhbimg.com/goodsimg/2014/05/22/01/01b4a4e8e0ad343e405627fa3023434174.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2657 | + "stock_number": 14, | ||
2658 | + "storage_num": 14, | ||
2659 | + "is_soon_sold_out": "N", | ||
2660 | + "middle_sort_id": 259, | ||
2661 | + "sales_price": 32, | ||
2662 | + "market_price": 40, | ||
2663 | + "is_promotion": 103, | ||
2664 | + "vip_price": 0, | ||
2665 | + "country_id": 0, | ||
2666 | + "status": 1 | ||
2667 | + } | ||
2668 | + ], | ||
2669 | + "top": [ | ||
2670 | + { | ||
2671 | + "small_sort_id": 171, | ||
2672 | + "vip1_price": 284.05, | ||
2673 | + "gender": "3", | ||
2674 | + "vip3_price": 263.12, | ||
2675 | + "is_global": "N", | ||
2676 | + "is_outlets": 2, | ||
2677 | + "is_discount": "N", | ||
2678 | + "brand_domain": "monster", | ||
2679 | + "goods_list": [ | ||
2680 | + { | ||
2681 | + "color_id": "2", | ||
2682 | + "product_skc": "554754", | ||
2683 | + "cover_1": "", | ||
2684 | + "goods_id": "718388", | ||
2685 | + "images_url": "http://img10.static.yhbimg.com/goodsimg/2016/09/13/16/016552821702a1a273b9bdfed032af6fd3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2686 | + "color_name": "黑色", | ||
2687 | + "cover_2": "", | ||
2688 | + "color_value": "", | ||
2689 | + "is_default": "N", | ||
2690 | + "color_code": "333333", | ||
2691 | + "status": "1" | ||
2692 | + } | ||
2693 | + ], | ||
2694 | + "vip_discount_type": 3, | ||
2695 | + "product_id": 581386, | ||
2696 | + "is_advance": "N", | ||
2697 | + "sales_num": 0, | ||
2698 | + "cn_alphabet": "MONSTERmosheng 128665-00 MH CLY IE BK CU WW;\n CLARITY HD", | ||
2699 | + "product_skn": 51386248, | ||
2700 | + "shelve_time": 1473845804, | ||
2701 | + "vip2_price": 269.1, | ||
2702 | + "age_level": "1", | ||
2703 | + "is_student_price": "N", | ||
2704 | + "edit_time": 1473845804, | ||
2705 | + "is_new": "N", | ||
2706 | + "is_limited": "N", | ||
2707 | + "brand_name": "MONSTER魔声", | ||
2708 | + "max_sort_id": 10, | ||
2709 | + "product_name": "MONSTER魔声 Clarity HD 灵晰 入耳式耳机 炫酷黑", | ||
2710 | + "brand_id": 646, | ||
2711 | + "tags": [], | ||
2712 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2016/09/13/16/016552821702a1a273b9bdfed032af6fd3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2713 | + "stock_number": 22, | ||
2714 | + "storage_num": 22, | ||
2715 | + "is_soon_sold_out": "N", | ||
2716 | + "middle_sort_id": 103, | ||
2717 | + "sales_price": 299, | ||
2718 | + "market_price": 299, | ||
2719 | + "is_promotion": 108, | ||
2720 | + "vip_price": 0, | ||
2721 | + "country_id": 0, | ||
2722 | + "status": 1 | ||
2723 | + } | ||
2724 | + ] | ||
2725 | + } | ||
2726 | + }, | ||
2727 | + "md5": "2c5d3c68ffb5121bfa68f954184a4241", | ||
2728 | + "message": "Life Style List." | ||
2729 | +} | ||
2730 | +``` | ||
2731 | + | ||
2732 | + | ||
2733 | +## 15、潮童频道商品搜索## | ||
2734 | + | ||
2735 | +(method=app.search.kids) | ||
2736 | +请求方式:GET | ||
2737 | +#### 请求参数 | ||
2738 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2739 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2740 | +|limit|int|是|2|20|每页显示条数| | ||
2741 | +|page|int|是|1|1|第几页| | ||
2742 | +|app_version|String|是|null|4.9.2.1609120001|版本号| | ||
2743 | +|client_type|String|是|iphone|null|客户端类型| | ||
2744 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
2745 | + | ||
2746 | +注意,通用的头部没有列出。 | ||
2747 | +请求示例 | ||
2748 | +http://api.yoho.cn/?app_version=5.0.0.1609300001&client_secret=c968356dfa80fb38d4da7d83dcd9f929&client_type=iphone&fromPage=iFP_Home&limit=50&method=app.search.kids&os_version=10.0.2&page=1&screen_size=375x667&uid=15545752&v=7 | ||
2749 | + | ||
2750 | +### 响应 | ||
2751 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2752 | +响应JSON格式如下所示: | ||
2753 | +```json | ||
2754 | +{ | ||
2755 | + "alg": "SALT_MD5", | ||
2756 | + "code": 200, | ||
2757 | + "data": { | ||
2758 | + "total": 542, | ||
2759 | + "page_total": 11, | ||
2760 | + "product_list": [ | ||
2761 | + { | ||
2762 | + "small_sort_id": 401, | ||
2763 | + "vip1_price": 246.05, | ||
2764 | + "gender": "1", | ||
2765 | + "vip3_price": 227.92, | ||
2766 | + "is_global": "N", | ||
2767 | + "is_outlets": 2, | ||
2768 | + "is_discount": "Y", | ||
2769 | + "brand_domain": "babyone", | ||
2770 | + "goods_list": [ | ||
2771 | + { | ||
2772 | + "color_id": "3", | ||
2773 | + "product_skc": "546424", | ||
2774 | + "cover_1": "", | ||
2775 | + "goods_id": "710236", | ||
2776 | + "images_url": "http://img10.static.yhbimg.com/goodsimg/2016/09/27/15/0193b64b67395bca40a65fa2007d4cebbb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2777 | + "color_name": "灰色", | ||
2778 | + "cover_2": "", | ||
2779 | + "color_value": "", | ||
2780 | + "is_default": "N", | ||
2781 | + "color_code": "b9b7af", | ||
2782 | + "status": "1" | ||
2783 | + } | ||
2784 | + ], | ||
2785 | + "vip_discount_type": 3, | ||
2786 | + "product_id": 574574, | ||
2787 | + "is_advance": "N", | ||
2788 | + "sales_num": 0, | ||
2789 | + "cn_alphabet": "babyONE dujiaoshouxilie dujiaoshounuanhuisechunyangrongkaishan BS14001-809", | ||
2790 | + "product_skn": 51379174, | ||
2791 | + "shelve_time": 1475892000, | ||
2792 | + "vip2_price": 233.1, | ||
2793 | + "age_level": "3,4", | ||
2794 | + "is_student_price": "N", | ||
2795 | + "edit_time": 1474421515, | ||
2796 | + "is_new": "Y", | ||
2797 | + "is_limited": "N", | ||
2798 | + "brand_name": "babyONE", | ||
2799 | + "max_sort_id": 365, | ||
2800 | + "product_name": "babyONE 男潮童100-130码独角兽暖灰色纯羊绒开衫", | ||
2801 | + "brand_id": 1402, | ||
2802 | + "tags": [ | ||
2803 | + "is_new" | ||
2804 | + ], | ||
2805 | + "default_images": "http://img10.static.yhbimg.com/goodsimg/2016/09/27/15/0193b64b67395bca40a65fa2007d4cebbb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2806 | + "stock_number": 4, | ||
2807 | + "storage_num": 4, | ||
2808 | + "is_soon_sold_out": "N", | ||
2809 | + "middle_sort_id": 400, | ||
2810 | + "sales_price": 259, | ||
2811 | + "market_price": 469, | ||
2812 | + "is_promotion": 114, | ||
2813 | + "vip_price": 0, | ||
2814 | + "country_id": 0, | ||
2815 | + "status": 1 | ||
2816 | + }, | ||
2817 | + { | ||
2818 | + "small_sort_id": 397, | ||
2819 | + "vip1_price": 246.05, | ||
2820 | + "gender": "1", | ||
2821 | + "vip3_price": 227.92, | ||
2822 | + "is_global": "N", | ||
2823 | + "is_outlets": 2, | ||
2824 | + "is_discount": "N", | ||
2825 | + "brand_domain": "hat", | ||
2826 | + "goods_list": [ | ||
2827 | + { | ||
2828 | + "color_id": "2", | ||
2829 | + "product_skc": "568908", | ||
2830 | + "cover_1": "", | ||
2831 | + "goods_id": "732924", | ||
2832 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/09/29/14/022b2f42df56bf59a7fe6fcfd279e7c768.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2833 | + "color_name": "黑色", | ||
2834 | + "cover_2": "", | ||
2835 | + "color_value": "", | ||
2836 | + "is_default": "N", | ||
2837 | + "color_code": "333333", | ||
2838 | + "status": "1" | ||
2839 | + } | ||
2840 | + ], | ||
2841 | + "vip_discount_type": 1, | ||
2842 | + "product_id": 593380, | ||
2843 | + "is_advance": "N", | ||
2844 | + "sales_num": 0, | ||
2845 | + "cn_alphabet": "haT zhangxiuweiyi HATAQ-W008B", | ||
2846 | + "product_skn": 51398994, | ||
2847 | + "shelve_time": 1476064365, | ||
2848 | + "vip2_price": 233.1, | ||
2849 | + "age_level": "2,3,4", | ||
2850 | + "is_student_price": "N", | ||
2851 | + "edit_time": 1476064365, | ||
2852 | + "is_new": "Y", | ||
2853 | + "is_limited": "N", | ||
2854 | + "brand_name": "哈T", | ||
2855 | + "max_sort_id": 365, | ||
2856 | + "product_name": "哈T 男潮童110-150码长袖卫衣", | ||
2857 | + "brand_id": 2396, | ||
2858 | + "tags": [ | ||
2859 | + "is_new" | ||
2860 | + ], | ||
2861 | + "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/09/29/14/022b2f42df56bf59a7fe6fcfd279e7c768.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
2862 | + "stock_number": 15, | ||
2863 | + "storage_num": 15, | ||
2864 | + "is_soon_sold_out": "N", | ||
2865 | + "middle_sort_id": 396, | ||
2866 | + "sales_price": 259, | ||
2867 | + "market_price": 259, | ||
2868 | + "is_promotion": 107, | ||
2869 | + "vip_price": 0, | ||
2870 | + "country_id": 0, | ||
2871 | + "status": 1 | ||
2872 | + } | ||
2873 | + ], | ||
2874 | + "page": 1 | ||
2875 | + }, | ||
2876 | + "md5": "318b54a8a6438574fd093782926ce31a", | ||
2877 | + "message": "Last Search List." | ||
2878 | +} | ||
2879 | +``` | ||
2880 | + | ||
2881 | + | ||
2882 | +## 16、为你优选接口## | ||
2883 | + | ||
2884 | +(method=app.home.newPreference) | ||
2885 | +请求方式:POST | ||
2886 | +#### 请求参数 | ||
2887 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
2888 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
2889 | +|yh_channel|String|否|1|null|频道(1或2)| | ||
2890 | +|uid|String|是|10961107|null|用户ID| | ||
2891 | +|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号| | ||
2892 | +|limit|int|是|2|20|每页显示条数| | ||
2893 | +|rec_pos|String|否|100001|null|推荐位| | ||
2894 | + | ||
2895 | +注意,通用的头部没有列出。 | ||
2896 | +请求示例 | ||
2897 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.home.newPreference&yh_channel=1&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107 | ||
2898 | + | ||
2899 | +### 响应 | ||
2900 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
2901 | +响应JSON格式如下所示: | ||
2902 | +```json | ||
2903 | +{ | ||
2904 | + "alg": "SALT_MD5", | ||
2905 | + "code": 200, | ||
2906 | + "data": { | ||
2907 | + "product_list": [ | ||
2908 | + { | ||
2909 | + "brand_domain": "5cm", | ||
2910 | + "brand_id": 4, | ||
2911 | + "brand_name": "5CM", | ||
2912 | + "cn_alphabet": "5CMPeiShi5CXTIT0600S66", | ||
2913 | + "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
2914 | + "edit_time": 1456119592, | ||
2915 | + "gender": "1", | ||
2916 | + "goods_list": [ | ||
2917 | + { | ||
2918 | + "color_code": "333333", | ||
2919 | + "color_id": "2", | ||
2920 | + "color_name": "黑色", | ||
2921 | + "color_value": "", | ||
2922 | + "cover_1": "", | ||
2923 | + "cover_2": "", | ||
2924 | + "goods_id": "476147", | ||
2925 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
2926 | + "is_default": "N", | ||
2927 | + "product_skc": "346699", | ||
2928 | + "status": "1" | ||
2929 | + } | ||
2930 | + ], | ||
2931 | + "is_advance": "N", | ||
2932 | + "is_discount": "N", | ||
2933 | + "is_limited": "N", | ||
2934 | + "is_new": "Y", | ||
2935 | + "is_outlets": 2, | ||
2936 | + "is_promotion": 104, | ||
2937 | + "is_soon_sold_out": "N", | ||
2938 | + "is_special": "N", | ||
2939 | + "market_price": 359, | ||
2940 | + "max_sort_id": 8, | ||
2941 | + "middle_sort_id": 66, | ||
2942 | + "product_id": 373507, | ||
2943 | + "product_name": "5CM 字母印花领带", | ||
2944 | + "product_skn": 51206745, | ||
2945 | + "sales_num": 0, | ||
2946 | + "sales_phrase": "春潮新势力", | ||
2947 | + "sales_price": 359, | ||
2948 | + "shelve_time": 1457140500, | ||
2949 | + "small_sort_id": 77, | ||
2950 | + "status": 1, | ||
2951 | + "stock_number": 25, | ||
2952 | + "storage_num": 25, | ||
2953 | + "tags": [ | ||
2954 | + "is_new" | ||
2955 | + ], | ||
2956 | + "vip1_price": 341.05, | ||
2957 | + "vip2_price": 323.1, | ||
2958 | + "vip3_price": 315.92, | ||
2959 | + "vip_discount_type": 1, | ||
2960 | + "vip_price": 0 | ||
2961 | + }, | ||
2962 | + { | ||
2963 | + "brand_domain": "5cm", | ||
2964 | + "brand_id": 4, | ||
2965 | + "brand_name": "5CM", | ||
2966 | + "cn_alphabet": "5CMPeiShi5CXTIT0603S66", | ||
2967 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
2968 | + "edit_time": 1456119581, | ||
2969 | + "gender": "1", | ||
2970 | + "goods_list": [ | ||
2971 | + { | ||
2972 | + "color_code": "333333", | ||
2973 | + "color_id": "2", | ||
2974 | + "color_name": "黑色", | ||
2975 | + "color_value": "", | ||
2976 | + "cover_1": "", | ||
2977 | + "cover_2": "", | ||
2978 | + "goods_id": "476153", | ||
2979 | + "images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
2980 | + "is_default": "N", | ||
2981 | + "product_skc": "346702", | ||
2982 | + "status": "1" | ||
2983 | + } | ||
2984 | + ], | ||
2985 | + "is_advance": "N", | ||
2986 | + "is_discount": "N", | ||
2987 | + "is_limited": "N", | ||
2988 | + "is_new": "Y", | ||
2989 | + "is_outlets": 2, | ||
2990 | + "is_promotion": 104, | ||
2991 | + "is_soon_sold_out": "N", | ||
2992 | + "is_special": "N", | ||
2993 | + "market_price": 359, | ||
2994 | + "max_sort_id": 8, | ||
2995 | + "middle_sort_id": 66, | ||
2996 | + "product_id": 373513, | ||
2997 | + "product_name": "5CM 字母印花领结", | ||
2998 | + "product_skn": 51206748, | ||
2999 | + "sales_num": 0, | ||
3000 | + "sales_phrase": "春潮新势力", | ||
3001 | + "sales_price": 359, | ||
3002 | + "shelve_time": 1457140500, | ||
3003 | + "small_sort_id": 77, | ||
3004 | + "status": 1, | ||
3005 | + "stock_number": 19, | ||
3006 | + "storage_num": 19, | ||
3007 | + "tags": [ | ||
3008 | + "is_new" | ||
3009 | + ], | ||
3010 | + "vip1_price": 341.05, | ||
3011 | + "vip2_price": 323.1, | ||
3012 | + "vip3_price": 315.92, | ||
3013 | + "vip_discount_type": 1, | ||
3014 | + "vip_price": 0 | ||
3015 | + } | ||
3016 | + ], | ||
3017 | + "rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b" | ||
3018 | + }, | ||
3019 | + "md5": "ace93d0f598db0bebec30234381c0cbf", | ||
3020 | + "message": "Product List." | ||
3021 | +} | ||
3022 | +``` | ||
3023 | + | ||
3024 | + | ||
3025 | +## 17、猜你喜欢接口## | ||
3026 | + | ||
3027 | +(method=app.search.newLast7day) | ||
3028 | +请求方式:POST | ||
3029 | +#### 请求参数 | ||
3030 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3031 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3032 | +|yh_channel|String|是|1|null|频道(1或2)| | ||
3033 | +|limit|int|是|2|20|每页显示条数| | ||
3034 | +|page|int|是|1|1|第几页| | ||
3035 | +|gender|String|是|2|null|性别(1或2)| | ||
3036 | +|content_code|String|是|123abc|null|内容码| | ||
3037 | +|uid|String|是|10961107|null|用户ID| | ||
3038 | +|udid|String|是|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号| | ||
3039 | +|rec_pos|String|否|100001|null|推荐位| | ||
3040 | +|client_type|String|是|iphone|null|客户端类型| | ||
3041 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
3042 | + | ||
3043 | +注意,通用的头部没有列出。 | ||
3044 | +请求示例 | ||
3045 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.search.newLast7day&yh_channel=3&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107&limit=2&rec_pos=100001 | ||
3046 | + | ||
3047 | +### 响应 | ||
3048 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3049 | +响应JSON格式如下所示: | ||
3050 | +```json | ||
3051 | +{ | ||
3052 | + "alg": "SALT_MD5", | ||
3053 | + "code": 200, | ||
3054 | + "data": { | ||
3055 | + "page": 1, | ||
3056 | + "page_total": 1, | ||
3057 | + "product_list": [ | ||
3058 | + { | ||
3059 | + "brand_domain": "lal", | ||
3060 | + "brand_id": 208, | ||
3061 | + "brand_name": "Life·After Life", | ||
3062 | + "cn_alphabet": "LIFEAFTERLIFEXiuXianJiuFenKuLALA6019P82", | ||
3063 | + "default_images": "http://img11.static.yhbimg.com/goodsimg/2016/01/18/05/014ad6e86ae379f532b4099ff3f815cd76.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3064 | + "edit_time": 1457317305, | ||
3065 | + "gender": "1", | ||
3066 | + "goods_list": [ | ||
3067 | + { | ||
3068 | + "color_code": "47ba17", | ||
3069 | + "color_id": "6", | ||
3070 | + "color_name": "绿色", | ||
3071 | + "color_value": "", | ||
3072 | + "cover_1": "http://img10.static.yhbimg.com/goodsimg/2016/01/18/05/01da8b818522c050c240550cc4761bdc7e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3073 | + "cover_2": "", | ||
3074 | + "goods_id": "402517", | ||
3075 | + "images_url": "http://img12.static.yhbimg.com/goodsimg/2016/01/06/12/0294c7537aa16803067d59d080d77d026a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3076 | + "is_default": "N", | ||
3077 | + "product_skc": "305513", | ||
3078 | + "status": "1" | ||
3079 | + }, | ||
3080 | + { | ||
3081 | + "color_code": "333333", | ||
3082 | + "color_id": "2", | ||
3083 | + "color_name": "黑色", | ||
3084 | + "color_value": "", | ||
3085 | + "cover_1": "http://img11.static.yhbimg.com/goodsimg/2016/01/18/05/014ad6e86ae379f532b4099ff3f815cd76.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3086 | + "cover_2": "", | ||
3087 | + "goods_id": "402519", | ||
3088 | + "images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/06/12/01b2aebd8666a078319943dc67af25643f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3089 | + "is_default": "Y", | ||
3090 | + "product_skc": "305514", | ||
3091 | + "status": "1" | ||
3092 | + }, | ||
3093 | + { | ||
3094 | + "color_code": "0000fe", | ||
3095 | + "color_id": "7", | ||
3096 | + "color_name": "蓝色", | ||
3097 | + "color_value": "", | ||
3098 | + "cover_1": "", | ||
3099 | + "cover_2": "", | ||
3100 | + "goods_id": "402521", | ||
3101 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/06/12/021a3546c399ca5e191338dea14ed9111d.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3102 | + "is_default": "N", | ||
3103 | + "product_skc": "305515", | ||
3104 | + "status": "1" | ||
3105 | + }, | ||
3106 | + { | ||
3107 | + "color_code": "8b5402", | ||
3108 | + "color_id": "4", | ||
3109 | + "color_name": "棕色", | ||
3110 | + "color_value": "", | ||
3111 | + "cover_1": "", | ||
3112 | + "cover_2": "", | ||
3113 | + "goods_id": "402523", | ||
3114 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/06/12/022ad04aaae79cf551d6357b7756b24564.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3115 | + "is_default": "N", | ||
3116 | + "product_skc": "305516", | ||
3117 | + "status": "1" | ||
3118 | + } | ||
3119 | + ], | ||
3120 | + "is_advance": "N", | ||
3121 | + "is_discount": "Y", | ||
3122 | + "is_limited": "N", | ||
3123 | + "is_new": "Y", | ||
3124 | + "is_outlets": 2, | ||
3125 | + "is_promotion": 103, | ||
3126 | + "is_soon_sold_out": "N", | ||
3127 | + "is_special": "N", | ||
3128 | + "market_price": 299, | ||
3129 | + "max_sort_id": 3, | ||
3130 | + "middle_sort_id": 26, | ||
3131 | + "product_id": 312769, | ||
3132 | + "product_name": "Life·After Life 侧拉链撞色绣标休闲九分裤", | ||
3133 | + "product_skn": 51173990, | ||
3134 | + "sales_num": 0, | ||
3135 | + "sales_phrase": "", | ||
3136 | + "sales_price": 239, | ||
3137 | + "shelve_time": 1457317305, | ||
3138 | + "small_sort_id": 129, | ||
3139 | + "status": 1, | ||
3140 | + "stock_number": 794, | ||
3141 | + "storage_num": 794, | ||
3142 | + "tags": [ | ||
3143 | + "is_new" | ||
3144 | + ], | ||
3145 | + "vip1_price": 227.04999999999998, | ||
3146 | + "vip2_price": 215.1, | ||
3147 | + "vip3_price": 210.32, | ||
3148 | + "vip_discount_type": 4, | ||
3149 | + "vip_price": 191 | ||
3150 | + }, | ||
3151 | + { | ||
3152 | + "brand_domain": "lal", | ||
3153 | + "brand_id": 208, | ||
3154 | + "brand_name": "Life·After Life", | ||
3155 | + "cn_alphabet": "LIFEAFTERLIFEKaiShanWeiYiLALA601HA43", | ||
3156 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2016/01/11/04/023c8a7f7cca543bb06eeb1c491e8133dc.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3157 | + "edit_time": 1456897775, | ||
3158 | + "gender": "1", | ||
3159 | + "goods_list": [ | ||
3160 | + { | ||
3161 | + "color_code": "333333", | ||
3162 | + "color_id": "2", | ||
3163 | + "color_name": "黑色", | ||
3164 | + "color_value": "", | ||
3165 | + "cover_1": "http://img12.static.yhbimg.com/goodsimg/2016/01/11/04/023c8a7f7cca543bb06eeb1c491e8133dc.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3166 | + "cover_2": "", | ||
3167 | + "goods_id": "402593", | ||
3168 | + "images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/04/01481682960df4ca7eef351e879efff375.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3169 | + "is_default": "N", | ||
3170 | + "product_skc": "305551", | ||
3171 | + "status": "1" | ||
3172 | + }, | ||
3173 | + { | ||
3174 | + "color_code": "0000fe", | ||
3175 | + "color_id": "7", | ||
3176 | + "color_name": "蓝色", | ||
3177 | + "color_value": "", | ||
3178 | + "cover_1": "http://img13.static.yhbimg.com/goodsimg/2016/01/11/04/02ddbd05ad24fa7805705e310f38d9d498.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3179 | + "cover_2": "", | ||
3180 | + "goods_id": "402595", | ||
3181 | + "images_url": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/04/0144ce271da759c861c49fba3c59c542ed.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3182 | + "is_default": "N", | ||
3183 | + "product_skc": "305552", | ||
3184 | + "status": "1" | ||
3185 | + }, | ||
3186 | + { | ||
3187 | + "color_code": "b9b7af", | ||
3188 | + "color_id": "3", | ||
3189 | + "color_name": "灰色", | ||
3190 | + "color_value": "", | ||
3191 | + "cover_1": "", | ||
3192 | + "cover_2": "", | ||
3193 | + "goods_id": "402597", | ||
3194 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/05/10/02877fc6b8d591343daded50497aaa5b42.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3195 | + "is_default": "N", | ||
3196 | + "product_skc": "305553", | ||
3197 | + "status": "1" | ||
3198 | + }, | ||
3199 | + { | ||
3200 | + "color_code": "47ba17", | ||
3201 | + "color_id": "6", | ||
3202 | + "color_name": "绿色", | ||
3203 | + "color_value": "", | ||
3204 | + "cover_1": "", | ||
3205 | + "cover_2": "", | ||
3206 | + "goods_id": "402599", | ||
3207 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/01/07/12/02f4b6ed457548a251fec23b67bd45d91a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3208 | + "is_default": "N", | ||
3209 | + "product_skc": "305554", | ||
3210 | + "status": "1" | ||
3211 | + }, | ||
3212 | + { | ||
3213 | + "color_code": "FFFFFF", | ||
3214 | + "color_id": "1", | ||
3215 | + "color_name": "白色", | ||
3216 | + "color_value": "", | ||
3217 | + "cover_1": "http://img11.static.yhbimg.com/goodsimg/2016/01/11/05/0132a3a5039523d8b128a7e9fae579e87a.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3218 | + "cover_2": "", | ||
3219 | + "goods_id": "402601", | ||
3220 | + "images_url": "http://img10.static.yhbimg.com/goodsimg/2016/01/11/04/01be579fbec81ad948397e69323fd0b8db.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3221 | + "is_default": "N", | ||
3222 | + "product_skc": "305555", | ||
3223 | + "status": "1" | ||
3224 | + } | ||
3225 | + ], | ||
3226 | + "is_advance": "N", | ||
3227 | + "is_discount": "Y", | ||
3228 | + "is_limited": "N", | ||
3229 | + "is_new": "N", | ||
3230 | + "is_outlets": 2, | ||
3231 | + "is_promotion": 102, | ||
3232 | + "is_soon_sold_out": "N", | ||
3233 | + "is_special": "N", | ||
3234 | + "market_price": 239, | ||
3235 | + "max_sort_id": 1, | ||
3236 | + "middle_sort_id": 16, | ||
3237 | + "product_id": 312795, | ||
3238 | + "product_name": "Life·After Life 无拉链前襟开叉开衫卫衣", | ||
3239 | + "product_skn": 51174003, | ||
3240 | + "sales_num": 0, | ||
3241 | + "sales_phrase": "", | ||
3242 | + "sales_price": 189, | ||
3243 | + "shelve_time": 1456897775, | ||
3244 | + "small_sort_id": 119, | ||
3245 | + "status": 1, | ||
3246 | + "stock_number": 731, | ||
3247 | + "storage_num": 731, | ||
3248 | + "tags": [], | ||
3249 | + "vip1_price": 179.54999999999998, | ||
3250 | + "vip2_price": 170.1, | ||
3251 | + "vip3_price": 166.32, | ||
3252 | + "vip_discount_type": 3, | ||
3253 | + "vip_price": 0 | ||
3254 | + } | ||
3255 | + ], | ||
3256 | + "rec_id": "81018161-8459-4131-ac05-40f327b5e318", | ||
3257 | + "total": 2 | ||
3258 | + }, | ||
3259 | + "md5": "aefa8f6557793d3b115d03d221a24529", | ||
3260 | + "message": "Last Search List." | ||
3261 | +} | ||
3262 | +``` | ||
3263 | + | ||
3264 | +## 18、买了又买接口## | ||
3265 | + | ||
3266 | +(method=app.recommend.purchased) | ||
3267 | +请求方式:POST | ||
3268 | +#### 请求参数 | ||
3269 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3270 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3271 | +|product_skn|String|否|51000268|null|商品skn| | ||
3272 | +|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号| | ||
3273 | +|limit|int|是|2|20|每页显示条数| | ||
3274 | +|rec_pos|String|否|100001|null|推荐位| | ||
3275 | + | ||
3276 | +注意,通用的头部没有列出。 | ||
3277 | +请求示例 | ||
3278 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.recommend.purchased&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107 | ||
3279 | + | ||
3280 | +### 响应 | ||
3281 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3282 | +响应JSON格式如下所示: | ||
3283 | +```json | ||
3284 | +{ | ||
3285 | + "alg": "SALT_MD5", | ||
3286 | + "code": 200, | ||
3287 | + "data": { | ||
3288 | + "product_list": [ | ||
3289 | + { | ||
3290 | + "brand_domain": "5cm", | ||
3291 | + "brand_id": 4, | ||
3292 | + "brand_name": "5CM", | ||
3293 | + "cn_alphabet": "5CMPeiShi5CXTIT0600S66", | ||
3294 | + "default_images": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3295 | + "edit_time": 1456119592, | ||
3296 | + "gender": "1", | ||
3297 | + "goods_list": [ | ||
3298 | + { | ||
3299 | + "color_code": "333333", | ||
3300 | + "color_id": "2", | ||
3301 | + "color_name": "黑色", | ||
3302 | + "color_value": "", | ||
3303 | + "cover_1": "", | ||
3304 | + "cover_2": "", | ||
3305 | + "goods_id": "476147", | ||
3306 | + "images_url": "http://img13.static.yhbimg.com/goodsimg/2016/02/21/07/026d569b2db7d9ce9339a79bcb3fe420f8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3307 | + "is_default": "N", | ||
3308 | + "product_skc": "346699", | ||
3309 | + "status": "1" | ||
3310 | + } | ||
3311 | + ], | ||
3312 | + "is_advance": "N", | ||
3313 | + "is_discount": "N", | ||
3314 | + "is_limited": "N", | ||
3315 | + "is_new": "Y", | ||
3316 | + "is_outlets": 2, | ||
3317 | + "is_promotion": 104, | ||
3318 | + "is_soon_sold_out": "N", | ||
3319 | + "is_special": "N", | ||
3320 | + "market_price": 359, | ||
3321 | + "max_sort_id": 8, | ||
3322 | + "middle_sort_id": 66, | ||
3323 | + "product_id": 373507, | ||
3324 | + "product_name": "5CM 字母印花领带", | ||
3325 | + "product_skn": 51206745, | ||
3326 | + "sales_num": 0, | ||
3327 | + "sales_phrase": "春潮新势力", | ||
3328 | + "sales_price": 359, | ||
3329 | + "shelve_time": 1457140500, | ||
3330 | + "small_sort_id": 77, | ||
3331 | + "status": 1, | ||
3332 | + "stock_number": 25, | ||
3333 | + "storage_num": 25, | ||
3334 | + "tags": [ | ||
3335 | + "is_new" | ||
3336 | + ], | ||
3337 | + "vip1_price": 341.05, | ||
3338 | + "vip2_price": 323.1, | ||
3339 | + "vip3_price": 315.92, | ||
3340 | + "vip_discount_type": 1, | ||
3341 | + "vip_price": 0 | ||
3342 | + }, | ||
3343 | + { | ||
3344 | + "brand_domain": "5cm", | ||
3345 | + "brand_id": 4, | ||
3346 | + "brand_name": "5CM", | ||
3347 | + "cn_alphabet": "5CMPeiShi5CXTIT0603S66", | ||
3348 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3349 | + "edit_time": 1456119581, | ||
3350 | + "gender": "1", | ||
3351 | + "goods_list": [ | ||
3352 | + { | ||
3353 | + "color_code": "333333", | ||
3354 | + "color_id": "2", | ||
3355 | + "color_name": "黑色", | ||
3356 | + "color_value": "", | ||
3357 | + "cover_1": "", | ||
3358 | + "cover_2": "", | ||
3359 | + "goods_id": "476153", | ||
3360 | + "images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3361 | + "is_default": "N", | ||
3362 | + "product_skc": "346702", | ||
3363 | + "status": "1" | ||
3364 | + } | ||
3365 | + ], | ||
3366 | + "is_advance": "N", | ||
3367 | + "is_discount": "N", | ||
3368 | + "is_limited": "N", | ||
3369 | + "is_new": "Y", | ||
3370 | + "is_outlets": 2, | ||
3371 | + "is_promotion": 104, | ||
3372 | + "is_soon_sold_out": "N", | ||
3373 | + "is_special": "N", | ||
3374 | + "market_price": 359, | ||
3375 | + "max_sort_id": 8, | ||
3376 | + "middle_sort_id": 66, | ||
3377 | + "product_id": 373513, | ||
3378 | + "product_name": "5CM 字母印花领结", | ||
3379 | + "product_skn": 51206748, | ||
3380 | + "sales_num": 0, | ||
3381 | + "sales_phrase": "春潮新势力", | ||
3382 | + "sales_price": 359, | ||
3383 | + "shelve_time": 1457140500, | ||
3384 | + "small_sort_id": 77, | ||
3385 | + "status": 1, | ||
3386 | + "stock_number": 19, | ||
3387 | + "storage_num": 19, | ||
3388 | + "tags": [ | ||
3389 | + "is_new" | ||
3390 | + ], | ||
3391 | + "vip1_price": 341.05, | ||
3392 | + "vip2_price": 323.1, | ||
3393 | + "vip3_price": 315.92, | ||
3394 | + "vip_discount_type": 1, | ||
3395 | + "vip_price": 0 | ||
3396 | + } | ||
3397 | + ], | ||
3398 | + "rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b" | ||
3399 | + }, | ||
3400 | + "md5": "ace93d0f598db0bebec30234381c0cbf", | ||
3401 | + "message": "Product List." | ||
3402 | +} | ||
3403 | +``` | ||
3404 | + | ||
3405 | + | ||
3406 | +## 19、首页弹窗接口## | ||
3407 | + | ||
3408 | +(method=app.recommend.popup) | ||
3409 | +请求方式:POST | ||
3410 | +#### 请求参数 | ||
3411 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3412 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3413 | +|uid|String|是|10961107|null|用户ID| | ||
3414 | +|udid|String|否|7ce5433b0eb9b527599fd5ef319773bc2f5d94d8|null|设备号| | ||
3415 | +|rec_pos|String|否|100001|null|推荐位| | ||
3416 | + | ||
3417 | +注意,通用的头部没有列出。 | ||
3418 | +请求示例 | ||
3419 | +http://devapi.yoho.cn:58078/?debug=XYZ&app_version=3.8.2&client_type=android&os_version=yohobuy%3Ah5&screen_size=720x1280&v=7&method=app.recommend.popup&udid=7ce5433b0eb9b527599fd5ef319773bc2f5d94d8&uid=10961107 | ||
3420 | + | ||
3421 | +### 响应 | ||
3422 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3423 | +响应JSON格式如下所示: | ||
3424 | +```json | ||
3425 | +{ | ||
3426 | + "alg": "SALT_MD5", | ||
3427 | + "code": 200, | ||
3428 | + "data": { | ||
3429 | + "product_list": [ | ||
3430 | + { | ||
3431 | + "brand_domain": "5cm", | ||
3432 | + "brand_id": 4, | ||
3433 | + "brand_name": "5CM", | ||
3434 | + "cn_alphabet": "5CMPeiShi5CXTIT0603S66", | ||
3435 | + "default_images": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3436 | + "edit_time": 1456119581, | ||
3437 | + "gender": "1", | ||
3438 | + "goods_list": [ | ||
3439 | + { | ||
3440 | + "color_code": "333333", | ||
3441 | + "color_id": "2", | ||
3442 | + "color_name": "黑色", | ||
3443 | + "color_value": "", | ||
3444 | + "cover_1": "", | ||
3445 | + "cover_2": "", | ||
3446 | + "goods_id": "476153", | ||
3447 | + "images_url": "http://img12.static.yhbimg.com/goodsimg/2016/02/21/07/02d463c9f8945ad14f824e8ba35efb9555.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
3448 | + "is_default": "N", | ||
3449 | + "product_skc": "346702", | ||
3450 | + "status": "1" | ||
3451 | + } | ||
3452 | + ], | ||
3453 | + "is_advance": "N", | ||
3454 | + "is_discount": "N", | ||
3455 | + "is_limited": "N", | ||
3456 | + "is_new": "Y", | ||
3457 | + "is_outlets": 2, | ||
3458 | + "is_promotion": 104, | ||
3459 | + "is_soon_sold_out": "N", | ||
3460 | + "is_special": "N", | ||
3461 | + "market_price": 359, | ||
3462 | + "max_sort_id": 8, | ||
3463 | + "middle_sort_id": 66, | ||
3464 | + "product_id": 373513, | ||
3465 | + "product_name": "5CM 字母印花领结", | ||
3466 | + "product_skn": 51206748, | ||
3467 | + "sales_num": 0, | ||
3468 | + "sales_phrase": "春潮新势力", | ||
3469 | + "sales_price": 359, | ||
3470 | + "shelve_time": 1457140500, | ||
3471 | + "small_sort_id": 77, | ||
3472 | + "status": 1, | ||
3473 | + "stock_number": 19, | ||
3474 | + "storage_num": 19, | ||
3475 | + "tags": [ | ||
3476 | + "is_new" | ||
3477 | + ], | ||
3478 | + "vip1_price": 341.05, | ||
3479 | + "vip2_price": 323.1, | ||
3480 | + "vip3_price": 315.92, | ||
3481 | + "vip_discount_type": 1, | ||
3482 | + "vip_price": 0 | ||
3483 | + } | ||
3484 | + ], | ||
3485 | + "rec_id": "00f185af-936a-4053-97f8-1c802cb91e8b" | ||
3486 | + }, | ||
3487 | + "md5": "ace93d0f598db0bebec30234381c0cbf", | ||
3488 | + "message": "Product List." | ||
3489 | +} | ||
3490 | +``` | ||
3491 | + | ||
3492 | + | ||
3493 | +## 20、根据店铺销售类目进行筛选商品列表## | ||
3494 | + | ||
3495 | +(method=app.search.pool) | ||
3496 | +请求方式:POST | ||
3497 | +#### 请求参数 | ||
3498 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3499 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3500 | +|yh_channel|String|是|1|null|频道(1或2)| | ||
3501 | +|limit|int|是|2|20|每页显示条数| | ||
3502 | +|page|int|是|1|1|第几页| | ||
3503 | +|gender|String|是|2|null|性别(1或2)| | ||
3504 | +|productPool|String|是|null|null|商品池| | ||
3505 | +|app_version|String|是|null|4.9.2.1609120001|版本号| | ||
3506 | +|sort|String|是|null|null|分类的Id| | ||
3507 | +|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型| | ||
3508 | +|p_d|String|是|0.7|null|促销折扣浮点值如0.7| | ||
3509 | +|color|String|是|null|null|颜色ID(多个以逗号分隔)| | ||
3510 | +|shop_id|String|是|null|null|店铺ID(多个以逗号分隔)| | ||
3511 | +|brand|String|是|null|null|品牌ID(多个以逗号分隔)| | ||
3512 | +|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”| | ||
3513 | +|size|String|是|null|null|尺寸ID(多个以逗号分隔)| | ||
3514 | +|msort|String|是|null|null|产品大分类Id| | ||
3515 | +|misort|String|是|null|null|产品中分类Id| | ||
3516 | +|standard|String|是|null|null|规格| | ||
3517 | +|categoryId|String|是|11|null|运营二级分类ID| | ||
3518 | +|subCategoryId|String|是|119|null|运营三级分类ID| | ||
3519 | +|age_level|String|是|null|null|年龄层| | ||
3520 | +|outlets|int|是|null|null|outlets=1 奥莱商品 outlets=2非奥莱商品| | ||
3521 | +|client_type|String|是|iphone|null|客户端类型| | ||
3522 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
3523 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
3524 | + | ||
3525 | +注意,通用的头部没有列出。 | ||
3526 | +请求示例 | ||
3527 | + | ||
3528 | +### 响应 | ||
3529 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3530 | +响应JSON格式如下所示: | ||
3531 | + | ||
3532 | + | ||
3533 | +## 21、品牌一览表功能(4.5版本)## | ||
3534 | + | ||
3535 | +(method=app.brand.newBrandList) | ||
3536 | +请求方式:POST | ||
3537 | +#### 请求参数 | ||
3538 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3539 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3540 | +|yh_channel|String|是|3|null|频道(1或2)| | ||
3541 | +|app_type|int|是|0|0|客户端类型 0:有货 1:BLK| | ||
3542 | +|gender|String|是|2|null|性别(1或2)| | ||
3543 | + | ||
3544 | +注意,通用的头部没有列出。 | ||
3545 | +请求示例 | ||
3546 | +http://54.223.45.120/?app_version=5.0.0.1609300001&client_secret=fefb83ae1df92ba70de6e7675fef14cd&client_type=iphone&fromPage=iFP_Brand&method=app.brand.newBrandList&os_version=10.0.2&screen_size=375x667&v=7&yh_channel=3 | ||
3547 | + | ||
3548 | +### 响应 | ||
3549 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3550 | +响应JSON格式如下所示: | ||
3551 | +```json | ||
3552 | +{ | ||
3553 | + "alg": "SALT_MD5", | ||
3554 | + "code": 200, | ||
3555 | + "data": { | ||
3556 | + "all_list": { | ||
3557 | + "A": [ | ||
3558 | + { | ||
3559 | + "brand_alif": "A", | ||
3560 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/08/31/15/01281f633cb04293ecbff5b5c9b7f1a16e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3561 | + "brand_name": "AMES BROS", | ||
3562 | + "brand_keyword": "AMES BROS,高街童装,街头童装,童装", | ||
3563 | + "type": "0", | ||
3564 | + "brand_name_en": "AMES BROS", | ||
3565 | + "brand_name_cn": "", | ||
3566 | + "hot_keyword": "童装 潮流 高街 街头", | ||
3567 | + "shelves_brand_time": 1465797231, | ||
3568 | + "is_show_new": "N", | ||
3569 | + "brand_domain": "amesbros", | ||
3570 | + "is_hot": "N", | ||
3571 | + "id": 907 | ||
3572 | + }, | ||
3573 | + { | ||
3574 | + "brand_alif": "A", | ||
3575 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3576 | + "brand_name": "Am&ot", | ||
3577 | + "brand_keyword": "童装,可爱", | ||
3578 | + "type": "0", | ||
3579 | + "brand_name_en": "Am&ot", | ||
3580 | + "brand_name_cn": "", | ||
3581 | + "hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,", | ||
3582 | + "shelves_brand_time": 1475906019, | ||
3583 | + "is_show_new": "Y", | ||
3584 | + "brand_domain": "amot", | ||
3585 | + "is_hot": "Y", | ||
3586 | + "id": 888 | ||
3587 | + } | ||
3588 | + ], | ||
3589 | + "B": [ | ||
3590 | + { | ||
3591 | + "brand_alif": "B", | ||
3592 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/01/18/10/02ee59338cae8810ff909c5abfbca0da96.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3593 | + "brand_name": "BABAMA", | ||
3594 | + "brand_keyword": "美式,轻潮,男包", | ||
3595 | + "type": "0", | ||
3596 | + "brand_name_en": "", | ||
3597 | + "brand_name_cn": "", | ||
3598 | + "hot_keyword": "美式轻潮男包", | ||
3599 | + "shelves_brand_time": 1453082341, | ||
3600 | + "is_show_new": "N", | ||
3601 | + "brand_domain": "babama", | ||
3602 | + "is_hot": "Y", | ||
3603 | + "id": 1355 | ||
3604 | + }, | ||
3605 | + { | ||
3606 | + "brand_alif": "B", | ||
3607 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/01/11/15/02ba807ea01dc5fe56e69e173ed62313e5.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3608 | + "brand_name": "babyONE", | ||
3609 | + "brand_keyword": "童装,亲子,雨衣,泳衣", | ||
3610 | + "type": "0", | ||
3611 | + "brand_name_en": "babyONE", | ||
3612 | + "brand_name_cn": "", | ||
3613 | + "hot_keyword": "", | ||
3614 | + "shelves_brand_time": 1473817409, | ||
3615 | + "is_show_new": "N", | ||
3616 | + "brand_domain": "babyone", | ||
3617 | + "is_hot": "Y", | ||
3618 | + "id": 1402 | ||
3619 | + }, | ||
3620 | + { | ||
3621 | + "brand_alif": "B", | ||
3622 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/09/29/17/0173fd258619dc31c9a659b5be0507eeb1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3623 | + "brand_name": "B+ by Beautyberry", | ||
3624 | + "brand_keyword": "T恤,背心,休闲裤,短裤", | ||
3625 | + "type": "0", | ||
3626 | + "brand_name_en": "B+ by Beautyberry", | ||
3627 | + "brand_name_cn": "", | ||
3628 | + "hot_keyword": "B+ by Beautyberry", | ||
3629 | + "shelves_brand_time": 1448608361, | ||
3630 | + "is_show_new": "N", | ||
3631 | + "brand_domain": "beautyberry", | ||
3632 | + "is_hot": "N", | ||
3633 | + "id": 980 | ||
3634 | + }, | ||
3635 | + { | ||
3636 | + "hot_keyword": "B.Duck生活,家具", | ||
3637 | + "is_show_new": "N", | ||
3638 | + "brand_domain": "b-duck", | ||
3639 | + "brand_alif": "B", | ||
3640 | + "is_hot": "N", | ||
3641 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3642 | + "brand_name": "B.Duck", | ||
3643 | + "id": 246, | ||
3644 | + "brand_keyword": "B.Duck,香港鸭子,萌鸭,鸭子,小黄鸭,iphone case,收纳包,保温杯,手机绳", | ||
3645 | + "type": "0", | ||
3646 | + "brand_name_en": "B.Duck", | ||
3647 | + "brand_name_cn": "" | ||
3648 | + }, | ||
3649 | + { | ||
3650 | + "brand_alif": "B", | ||
3651 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/04/30/16/01534ccbe9e2853776da07e966499b5c54.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3652 | + "brand_name": "Bearburry", | ||
3653 | + "brand_keyword": "", | ||
3654 | + "type": "2", | ||
3655 | + "brand_name_en": "Bearburry", | ||
3656 | + "shop_template_type": "2", | ||
3657 | + "brand_name_cn": "", | ||
3658 | + "hot_keyword": "", | ||
3659 | + "is_show_new": "N", | ||
3660 | + "brand_domain": "bearburry", | ||
3661 | + "shop_id": 1572, | ||
3662 | + "is_hot": "Y", | ||
3663 | + "id": 701 | ||
3664 | + }, | ||
3665 | + { | ||
3666 | + "brand_alif": "B", | ||
3667 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/05/30/15/0160b278a32ce8b01412c63634c5355949.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3668 | + "brand_name": "Boogie Bear", | ||
3669 | + "brand_keyword": "", | ||
3670 | + "type": "0", | ||
3671 | + "brand_name_en": "Boogie Bear", | ||
3672 | + "brand_name_cn": "卜吉熊", | ||
3673 | + "hot_keyword": "", | ||
3674 | + "shelves_brand_time": 1472813056, | ||
3675 | + "is_show_new": "N", | ||
3676 | + "brand_domain": "boogiebear", | ||
3677 | + "is_hot": "N", | ||
3678 | + "id": 1970 | ||
3679 | + } | ||
3680 | + ], | ||
3681 | + "C": [ | ||
3682 | + { | ||
3683 | + "brand_alif": "C", | ||
3684 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2016/05/26/15/02d5f8c3a158820964f42391a87c38e63e.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3685 | + "brand_name": "CEYE kids", | ||
3686 | + "brand_keyword": "CEYE kids,女童,熙颐", | ||
3687 | + "type": "0", | ||
3688 | + "brand_name_en": "CEYE kids", | ||
3689 | + "brand_name_cn": "熙颐", | ||
3690 | + "hot_keyword": "", | ||
3691 | + "shelves_brand_time": 1466740072, | ||
3692 | + "is_show_new": "N", | ||
3693 | + "brand_domain": "ceyekids", | ||
3694 | + "is_hot": "N", | ||
3695 | + "id": 1882 | ||
3696 | + }, | ||
3697 | + { | ||
3698 | + "brand_alif": "C", | ||
3699 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/07/17/02473a3b71e186d79e99f22dce415345ef.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3700 | + "brand_name": ":CHOCOOLATE", | ||
3701 | + "brand_keyword": "", | ||
3702 | + "type": "0", | ||
3703 | + "brand_name_en": ":CHOCOOLATE", | ||
3704 | + "brand_name_cn": "巧克力", | ||
3705 | + "hot_keyword": "", | ||
3706 | + "shelves_brand_time": 1470390575, | ||
3707 | + "is_show_new": "N", | ||
3708 | + "brand_domain": "chocoolate", | ||
3709 | + "is_hot": "Y", | ||
3710 | + "id": 342 | ||
3711 | + }, | ||
3712 | + { | ||
3713 | + "brand_alif": "C", | ||
3714 | + "brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/11/17/16/025f16354b64b9b884a238fe775f73b232.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3715 | + "brand_name": "CHUMS", | ||
3716 | + "brand_keyword": "快乐,乐趣,品质", | ||
3717 | + "type": "0", | ||
3718 | + "brand_name_en": "CHUMS", | ||
3719 | + "brand_name_cn": "", | ||
3720 | + "hot_keyword": "", | ||
3721 | + "shelves_brand_time": 1472812346, | ||
3722 | + "is_show_new": "N", | ||
3723 | + "brand_domain": "chums", | ||
3724 | + "is_hot": "N", | ||
3725 | + "id": 832 | ||
3726 | + }, | ||
3727 | + { | ||
3728 | + "hot_keyword": "", | ||
3729 | + "is_show_new": "N", | ||
3730 | + "brand_domain": "chuyukids", | ||
3731 | + "brand_alif": "C", | ||
3732 | + "is_hot": "Y", | ||
3733 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2015/09/16/09/01c256e5e5305440410c47a35497b0e48c.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3734 | + "brand_name": "初语kids", | ||
3735 | + "id": 945, | ||
3736 | + "brand_keyword": "", | ||
3737 | + "type": "0", | ||
3738 | + "brand_name_en": "", | ||
3739 | + "brand_name_cn": "初语童装" | ||
3740 | + }, | ||
3741 | + { | ||
3742 | + "brand_alif": "C", | ||
3743 | + "brand_ico": "http://img12.static.yhbimg.com/brandLogo/2016/04/05/18/026d91733484dc8003691d8762b3069ebd.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3744 | + "brand_name": "初左", | ||
3745 | + "brand_keyword": "初左,女童,chuzuo", | ||
3746 | + "type": "0", | ||
3747 | + "brand_name_en": "chuzuo", | ||
3748 | + "brand_name_cn": "", | ||
3749 | + "hot_keyword": "", | ||
3750 | + "shelves_brand_time": 1462244654, | ||
3751 | + "is_show_new": "N", | ||
3752 | + "brand_domain": "chuzuo", | ||
3753 | + "is_hot": "N", | ||
3754 | + "id": 1640 | ||
3755 | + }, | ||
3756 | + { | ||
3757 | + "brand_alif": "C", | ||
3758 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2016/05/26/18/01ae73d238b221f92965e39dc6699da554.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3759 | + "brand_name": "Coastal Vision镜宴", | ||
3760 | + "brand_keyword": "Coastal Vision镜宴,太阳镜,光学眼镜", | ||
3761 | + "type": "0", | ||
3762 | + "brand_name_en": "Coastal Vision", | ||
3763 | + "brand_name_cn": "镜宴", | ||
3764 | + "hot_keyword": "Coastal Vision镜宴", | ||
3765 | + "shelves_brand_time": 1469788417, | ||
3766 | + "is_show_new": "N", | ||
3767 | + "brand_domain": "coastalvision", | ||
3768 | + "is_hot": "N", | ||
3769 | + "id": 1870 | ||
3770 | + }, | ||
3771 | + { | ||
3772 | + "hot_keyword": "", | ||
3773 | + "is_show_new": "N", | ||
3774 | + "brand_domain": "creamsoda", | ||
3775 | + "brand_alif": "C", | ||
3776 | + "is_hot": "N", | ||
3777 | + "brand_ico": "http://img10.static.yhbimg.com/brandLogo/2016/02/22/16/01b05bb838b5ac7cb49cfb913f7b88523b.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3778 | + "brand_name": "Creamsoda", | ||
3779 | + "id": 235, | ||
3780 | + "brand_keyword": "Creamsoda", | ||
3781 | + "type": "0", | ||
3782 | + "brand_name_en": "Creamsoda", | ||
3783 | + "brand_name_cn": "奶油苏打" | ||
3784 | + } | ||
3785 | + ], | ||
3786 | + | ||
3787 | + "X": [ | ||
3788 | + { | ||
3789 | + "hot_keyword": "简约 童装 法式 浪漫 可爱", | ||
3790 | + "is_show_new": "N", | ||
3791 | + "brand_domain": "xsnn", | ||
3792 | + "brand_alif": "X", | ||
3793 | + "is_hot": "N", | ||
3794 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/07/09/17/0257ab1815252fba3a632f92a0d88e2db3.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3795 | + "brand_name": "香水娜娜", | ||
3796 | + "id": 784, | ||
3797 | + "brand_keyword": "简约,可爱,潮流", | ||
3798 | + "type": "0", | ||
3799 | + "brand_name_en": "Perfume Nana", | ||
3800 | + "brand_name_cn": "香水娜娜" | ||
3801 | + }, | ||
3802 | + { | ||
3803 | + "brand_alif": "X", | ||
3804 | + "brand_ico": "http://img12.static.yhbimg.com/brandLogo/2016/01/21/08/02fd23ea5334ddbf196f65417fab29d2e7.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3805 | + "brand_name": "小淑女与约翰", | ||
3806 | + "brand_keyword": "", | ||
3807 | + "type": "0", | ||
3808 | + "brand_name_en": "little fairy&john", | ||
3809 | + "brand_name_cn": "小淑女与约翰", | ||
3810 | + "hot_keyword": "", | ||
3811 | + "shelves_brand_time": 1470984503, | ||
3812 | + "is_show_new": "N", | ||
3813 | + "brand_domain": "xiaoshunvyuyuehan", | ||
3814 | + "is_hot": "N", | ||
3815 | + "id": 1439 | ||
3816 | + }, | ||
3817 | + { | ||
3818 | + "brand_alif": "X", | ||
3819 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/30/11/0103330bef027d94f57037168dc1004de6.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3820 | + "brand_name": "熊家优品", | ||
3821 | + "brand_keyword": "杜海涛,熊先生,快乐大本营,明星,家居", | ||
3822 | + "type": "0", | ||
3823 | + "brand_name_en": "", | ||
3824 | + "brand_name_cn": "", | ||
3825 | + "hot_keyword": "杜海涛 快乐大本营 明星 家居 熊先生", | ||
3826 | + "shelves_brand_time": 1449645393, | ||
3827 | + "is_show_new": "N", | ||
3828 | + "brand_domain": "chinamrbear", | ||
3829 | + "is_hot": "N", | ||
3830 | + "id": 1106 | ||
3831 | + } | ||
3832 | + ] | ||
3833 | + }, | ||
3834 | + "new_list": [ | ||
3835 | + { | ||
3836 | + "hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,", | ||
3837 | + "shelves_brand_time": 1475906019, | ||
3838 | + "brand_domain": "amot", | ||
3839 | + "brand_alif": "A", | ||
3840 | + "is_hot": "Y", | ||
3841 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3842 | + "brand_name": "Am&ot", | ||
3843 | + "id": 888, | ||
3844 | + "brand_keyword": "童装,可爱", | ||
3845 | + "type": "0", | ||
3846 | + "brand_name_en": "Am&ot", | ||
3847 | + "brand_name_cn": "" | ||
3848 | + }, | ||
3849 | + | ||
3850 | + { | ||
3851 | + "hot_keyword": "", | ||
3852 | + "shelves_brand_time": 1475904816, | ||
3853 | + "brand_domain": "mummeetme", | ||
3854 | + "brand_alif": "M", | ||
3855 | + "is_hot": "Y", | ||
3856 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/08/23/15/01d9e5a304e84f27299d469a4ac741bca4.png?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3857 | + "brand_name": "MUMMEETME", | ||
3858 | + "id": 2558, | ||
3859 | + "brand_keyword": "", | ||
3860 | + "type": "0", | ||
3861 | + "brand_name_en": "MUMMEETME", | ||
3862 | + "brand_name_cn": "MUMMEETME" | ||
3863 | + } | ||
3864 | + ], | ||
3865 | + "hot_list": [ | ||
3866 | + { | ||
3867 | + "brand_alif": "A", | ||
3868 | + "brand_ico": "http://img11.static.yhbimg.com/brandLogo/2015/11/13/10/019f4b53186ddd49eca1d9cde87b29e995.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3869 | + "brand_name": "Am&ot", | ||
3870 | + "brand_keyword": "童装,可爱", | ||
3871 | + "type": "0", | ||
3872 | + "brand_name_en": "Am&ot", | ||
3873 | + "brand_name_cn": "", | ||
3874 | + "hot_keyword": "优雅的意大利风格,强调非凡的舒适感,流露出天真帅气的儿童魅力,", | ||
3875 | + "shelves_brand_time": 1475906019, | ||
3876 | + "is_show_new": "Y", | ||
3877 | + "brand_domain": "amot", | ||
3878 | + "is_hot": "Y", | ||
3879 | + "id": 888 | ||
3880 | + }, | ||
3881 | + | ||
3882 | + { | ||
3883 | + "brand_alif": "T", | ||
3884 | + "brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/12/07/10/02c11ab89b90ad104a080efc17310836a0.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/70", | ||
3885 | + "brand_name": "TYAKASHA", | ||
3886 | + "brand_keyword": "tyakasha,服装,", | ||
3887 | + "type": "2", | ||
3888 | + "brand_name_en": "TYAKASHA", | ||
3889 | + "shop_template_type": "2", | ||
3890 | + "brand_name_cn": "塔卡沙", | ||
3891 | + "hot_keyword": "tyakasha", | ||
3892 | + "shelves_brand_time": 1474890862, | ||
3893 | + "is_show_new": "N", | ||
3894 | + "brand_domain": "tyakasha", | ||
3895 | + "shop_id": 1496, | ||
3896 | + "is_hot": "Y", | ||
3897 | + "id": 141 | ||
3898 | + } | ||
3899 | + ] | ||
3900 | + }, | ||
3901 | + "message": "success" | ||
3902 | +} | ||
3903 | +``` | ||
3904 | + | ||
3905 | + | ||
3906 | +## 22、根据店铺搜索店铺下具体的商品,单品店根据品牌搜索商品列表,多品店根据shop搜索商品列表## | ||
3907 | + | ||
3908 | +(method=app.search.shop) | ||
3909 | +请求方式:POST | ||
3910 | +#### 请求参数 | ||
3911 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3912 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3913 | +|yh_channel|String|是|1|null|频道(1或2)| | ||
3914 | +|shop_id|String|是|null|null|店铺ID(多个以逗号分隔)| | ||
3915 | +|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型| | ||
3916 | +|limit|int|是|2|20|每页显示条数| | ||
3917 | +|page|int|是|1|1|第几页| | ||
3918 | +|gender|String|是|2|null|性别(1或2)| | ||
3919 | +|color|String|是|null|null|颜色ID(多个以逗号分隔)| | ||
3920 | +|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”| | ||
3921 | +|size|String|是|null|null|尺寸ID(多个以逗号分隔)| | ||
3922 | +|p_d|String|是|0.7|null|促销折扣浮点值如0.7| | ||
3923 | +|sort|String|是|null|null|分类的Id| | ||
3924 | +|tags_filter|Integer|否|0-2|0|0|过滤标签| | ||
3925 | +|age_level|String|是|null|null|年龄层| | ||
3926 | +|app_version|String|是|null|4.9.2.1609120001|版本号| | ||
3927 | +|client_type|String|是|iphone|null|客户端类型| | ||
3928 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
3929 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
3930 | + | ||
3931 | +注意,通用的头部没有列出。 | ||
3932 | +请求示例 | ||
3933 | + | ||
3934 | +### 响应 | ||
3935 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3936 | +响应JSON格式如下所示: | ||
3937 | + | ||
3938 | + | ||
3939 | + | ||
3940 | +## 23、查询所有的分类列表## | ||
3941 | + | ||
3942 | +(method=app.sort.get) | ||
3943 | +请求方式:POST | ||
3944 | +#### 请求参数 | ||
3945 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3946 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3947 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
3948 | + | ||
3949 | +注意,通用的头部没有列出。 | ||
3950 | +请求示例 | ||
3951 | + | ||
3952 | +### 响应 | ||
3953 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3954 | +响应JSON格式如下所示: | ||
3955 | + | ||
3956 | + | ||
3957 | + | ||
3958 | +## 24、搜索建议## | ||
3959 | + | ||
3960 | +(method=app.search.fuzzy) | ||
3961 | +请求方式:POST | ||
3962 | +#### 请求参数 | ||
3963 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
3964 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
3965 | +|keyword|int|否|阿迪|null|关键词 如果为空或非0则返回“关键词不能为空”的提示| | ||
3966 | + | ||
3967 | +注意,通用的头部没有列出。 | ||
3968 | +请求示例 | ||
3969 | +http://54.222.221.243/?app_version=5.0.0.1609300001&client_secret=42d2a475df3219aa7712e9b969e2faa3&client_type=iphone&fromPage=iFP_SearchProList&keyword=%E9%98%BF%E8%BF%AA&method=app.search.fuzzy&os_version=10.0.2&screen_size=375x667&uid=15545752&v=7 | ||
3970 | + | ||
3971 | +### 响应 | ||
3972 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
3973 | +响应JSON格式如下所示: | ||
3974 | +```json | ||
3975 | +{ | ||
3976 | + "alg": "SALT_MD5", | ||
3977 | + "code": 200, | ||
3978 | + "data": [ | ||
3979 | + { | ||
3980 | + "count": 216, | ||
3981 | + "keyword": "阿迪达斯" | ||
3982 | + }, | ||
3983 | + { | ||
3984 | + "count": 216, | ||
3985 | + "keyword": "阿迪" | ||
3986 | + }, | ||
3987 | + { | ||
3988 | + "count": 199, | ||
3989 | + "keyword": "阿迪达斯三叶草" | ||
3990 | + }, | ||
3991 | + { | ||
3992 | + "count": 128, | ||
3993 | + "keyword": "阿迪达斯男" | ||
3994 | + }, | ||
3995 | + { | ||
3996 | + "count": 117, | ||
3997 | + "keyword": "阿迪达斯女" | ||
3998 | + }, | ||
3999 | + { | ||
4000 | + "count": 16, | ||
4001 | + "keyword": "阿迪达斯手表" | ||
4002 | + }, | ||
4003 | + { | ||
4004 | + "count": 199, | ||
4005 | + "keyword": "阿迪三叶草" | ||
4006 | + }, | ||
4007 | + { | ||
4008 | + "count": 117, | ||
4009 | + "keyword": "阿迪达斯女子" | ||
4010 | + }, | ||
4011 | + { | ||
4012 | + "count": 117, | ||
4013 | + "keyword": "阿迪女" | ||
4014 | + }, | ||
4015 | + { | ||
4016 | + "count": 128, | ||
4017 | + "keyword": "阿迪达斯男子" | ||
4018 | + } | ||
4019 | + ], | ||
4020 | + "md5": "2020cb0dba6480501bf9cbff799026a5", | ||
4021 | + "message": "fuzzy search list" | ||
4022 | +} | ||
4023 | +``` | ||
4024 | + | ||
4025 | + | ||
4026 | +## 25、获取店铺下的二级品类列表## | ||
4027 | + | ||
4028 | +(method=app.shop.getSortInfo) | ||
4029 | +请求方式:GET | ||
4030 | +#### 请求参数 | ||
4031 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
4032 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
4033 | +|shop_id|int|否|null|null|店铺ID| | ||
4034 | +|yh_channel|int|是|null|1|频道(1或2)| | ||
4035 | +|gender|String|是|null|null|性别(1或2)| | ||
4036 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
4037 | + | ||
4038 | +注意,通用的头部没有列出。 | ||
4039 | +请求示例 | ||
4040 | + | ||
4041 | +### 响应 | ||
4042 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
4043 | +响应JSON格式如下所示: | ||
4044 | + | ||
4045 | + | ||
4046 | +## 26、学生专享商品列表(60个)## | ||
4047 | + | ||
4048 | +(method=app.student.vip) | ||
4049 | +请求方式:GET | ||
4050 | +#### 请求参数 | ||
4051 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
4052 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
4053 | +|limit|int|是|20|60|每页显示条数| | ||
4054 | + | ||
4055 | +注意,通用的头部没有列出。 | ||
4056 | +请求示例 | ||
4057 | + | ||
4058 | +### 响应 | ||
4059 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
4060 | +响应JSON格式如下所示: | ||
4061 | + | ||
4062 | + | ||
4063 | + | ||
4064 | +## 27、获取所有折扣类型为1的商品,并计算好学生价返回## | ||
4065 | + | ||
4066 | +(method=app.student.discount) | ||
4067 | +请求方式:GET | ||
4068 | +#### 请求参数 | ||
4069 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
4070 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
4071 | +|query|String|是|null|null|关键字| | ||
4072 | +|limit|int|是|2|20|每页显示条数| | ||
4073 | +|page|int|是|1|1|第几页| | ||
4074 | +|order|String|是|s_t_desc|s_s_desc,s_n_desc|排序类型| | ||
4075 | +|msort|String|是|null|null|产品大分类Id| | ||
4076 | +|misort|String|是|null|null|产品中分类Id| | ||
4077 | +|gender|String|是|2|null|性别 1-男 2-女 3-通用| | ||
4078 | +|brand|String|是|null|null|品牌ID(多个以逗号分隔)| | ||
4079 | +|price|String|是|null|null|价格区间,起始价格以逗号分隔,如查询300-600元“price=300,600”| | ||
4080 | +|size|String|是|null|null|尺寸ID(多个以逗号分隔)| | ||
4081 | +|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔| | ||
4082 | +|color|String|是|null|null|颜色ID(多个以逗号分隔)| | ||
4083 | +|p_d|String|是|0.7|null|促销折扣浮点值如0.7| | ||
4084 | + | ||
4085 | +注意,通用的头部没有列出。 | ||
4086 | +请求示例 | ||
4087 | + | ||
4088 | +### 响应 | ||
4089 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
4090 | +响应JSON格式如下所示: | ||
4091 | + | ||
4092 | + | ||
4093 | +## 28、热卖排行榜top100## | ||
4094 | + | ||
4095 | +(method=app.search.top) | ||
4096 | +请求方式:GET | ||
4097 | +#### 请求参数 | ||
4098 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
4099 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
4100 | +|yh_channel|String|是|1|null|频道(1或2)| | ||
4101 | +|limit|int|是|20|50|每页显示条数| | ||
4102 | +|page|int|是|1|1|第几页| | ||
4103 | +|tab_id|String|是|null|null|| | ||
4104 | +|sort|String|是|null|null|查询小分类ID,查多个小类以逗号分隔| | ||
4105 | +|client_type|String|是|iphone|null|客户端类型| | ||
4106 | +|gender|String|是|2|null|性别 1-男 2-女 3-通用| | ||
4107 | +|app_version|String|是|null|4.9.2.1609120001|版本号| | ||
4108 | +|need_filter|String|是|null|null|是否需要查询过滤条件| | ||
4109 | +|app_type|int|是|null|0|客户端类型 0:有货 1:BLK| | ||
4110 | + | ||
4111 | +注意,通用的头部没有列出。 | ||
4112 | +请求示例 | ||
4113 | + | ||
4114 | +### 响应 | ||
4115 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
4116 | +响应JSON格式如下所示: |
-
Please register or login to post a comment