榜单排行接口(支持分类排行)---李辉
<p><strong>简要描述:</strong> </p>
<p>-榜单排行接口-</p>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://dk.gaoyong666.com/gylm/goods/v1/toplist</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">classtype</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1,拼多多 ;2,京东;3,淘宝;5,蘑菇街;7,唯品会</td>
</tr>
<tr>
<td style="text-align: left;">cateId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>分类ID</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>当前页 默认1 下次携带minId</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>默认10 显示页数</td>
</tr>
</tbody>
</table>
<p><strong>备注:</strong>
当classtype等于3(淘宝),并且cateId(分类id)等于9998,会请求‘猜你喜欢’的接口。
需要多传递的参数:</p>
<p>|参数名 |必选 |类型 |说明 |
|goodsId |否 |int | 商品id | 当前商品id
|phoneType |是 |int | app类型 | 安卓:1 苹果:2
|imei |否 |string | 安卓手机IMEI码,苹果手机IDFA码 | 设备号加密后的值(MD5加密需32位小写)</p>
<p><strong>返回示例</strong>
<strong>拼多多</strong></p>
<pre><code>{
"code": 200,
"message": "SUCCESS",
"time": 1543392065,
"minId": 2,
"data": [
{
"cat_id": "0",
"cat_ids": "[1464,3776,4507,0]",
"category_id": "16",
"category_name": "美妆",
"coupon_discount": "100.0",
"coupon_end_time": "1543593599",
"coupon_min_order_amount": "100.0",
"coupon_remain_quantity": "3000",
"coupon_start_time": "1543334400",
"coupon_total_quantity": "10000",
"goods_desc": "",
"goods_eval_count": "10430",
"goods_eval_score": "4.57",
"goods_gallery_urls": null,
"goods_id": "2673307392",
"goods_image_url": "http://t00img.yangkeduo.com/openapi/images/2018-08-22/9e13eb8fb23fc35900fa281483b2e0ba.jpeg",
"goods_name": "【多规格】专业修眉刀片刮眉刀套装刮眉毛画眉神器化妆专用初学者",
"goods_thumbnail_url": "http://t00img.yangkeduo.com/goods/images/2018-08-22/0b84e3df4c8d0b3fe278c6193951daba.jpeg",
"has_coupon": "1",
"id": "1123956",
"mall_name": "Kristin shop",
"min_group_price": "255.0",
"min_normal_price": "390.0",
"opt_id": "16",
"opt_name": "美妆",
"promotion_rate": "300",
"run_single": "7023",
"sold_quantity": "55344",
"index_name": "tejiakes"
}
]
} </code></pre>
<p>参照地址 <a href="http://open.pinduoduo.com/#/apidocument/port?id=27">http://open.pinduoduo.com/#/apidocument/port?id=27</a></p>
<p><strong>淘宝</strong></p>
<pre><code>{
"code": 200,
"message": "SUCCESS",
"minId": 2,
"time": 1543392405,
"data": [
{
"product_id": "8204211",
"itemid": "556443607855",
"seller_id": "38",
"itemtitle": "珀莱雅水动力护肤品套装女补水保湿水乳液透皙美白学生化妆品正品",
"itemshorttitle": "【珀莱雅官方旗舰店】水动力3件套",
"itemdesc": "【镇店爆款,蕞抵价】珀莱雅,第壹家化妆品独立上市护肤品牌珀莱雅,就是海洋,魅力,源自深海,水嫩Q弹,告别油腻,补水快准狠",
"itemprice": "129.00",
"itemsale": "253753",
"itemsale2": "7357",
"todaysale": "51231",
"itempic": "http://img.haodanku.com/oimg_556443607855_1532912907.jpg",
"itempic_copy": "0_556443607855_1532912834.jpg",
"fqcat": "4",
"itemendprice": "59.00",
"shoptype": "B",
"tktype": "营销计划",
"tkrates": "30.00",
"cuntao": "0",
"tkmoney": "17.70",
"couponurl": "https://uland.taobao.com/quan/detail?sellerId=379424083&activityId=9cea8b5a9de141c48e6ae2d4ca3a2121",
"couponmoney": "70",
"couponsurplus": "45000",
"couponreceive": "135000",
"couponreceive2": "14400",
"todaycouponreceive": "103000",
"couponnum": "180000",
"couponexplain": "单笔满129元可用",
"couponstarttime": "1543334400",
"couponendtime": "1543507199",
"start_time": "1543334400",
"end_time": "1543507199",
"starttime": "1543334400",
"isquality": null,
"report_status": "0",
"is_brand": "0",
"is_live": "0",
"guide_article": "【镇店爆款,蕞抵价】珀莱雅,第壹家化妆品独立上市护肤品牌珀莱雅,就是海洋,魅力,源自深海,水嫩Q弹,告别油腻,补水快准狠",
"videoid": "0",
"activity_type": "聚划算",
"general_index": "445",
"planlink": null,
"seller_name": "天神盟",
"userid": "379424083",
"sellernick": "珀莱雅官方旗舰店",
"online_users": "0",
"original_img": "",
"original_article": "",
"discount": "4.60",
"is_explosion": "0",
"me": null,
"activityid": "9cea8b5a9de141c48e6ae2d4ca3a2121",
"coupon_condition": "129.00",
"taobao_image": "http://img.alicdn.com/imgextra/i3/379424083/TB2fSqUgYuWBuNjSszgXXb8jVXa_!!379424083.jpg,http://img.alicdn.com/imgextra/i1/379424083/TB2GlCSaQCWBuNjy0FaXXXUlXXa_!!379424083.jpg,http://img.alicdn.com/imgextra/i3/379424083/TB2avMUHAyWBuNjy0FpXXassXXa_!!379424083-0-item_pic.jpg,http://img.alicdn.com/imgextra/i2/379424083/TB2IDJ9yb1YBuNjSszeXXablFXa_!!379424083.jpg,http://img.alicdn.com/imgextra/i3/379424083/TB2J0Uis1uSBuNjy1XcXXcYjFXa_!!379424083.jpg",
"shopid": "60637940",
"shopname": "珀莱雅官方旗舰店"
}
]
}</code></pre>
<p>参照地址 <a href="https://www.haodanku.com/api/detail/show/1.html">https://www.haodanku.com/api/detail/show/1.html</a></p>
<p><strong>唯品会</strong></p>
<pre><code> {
"code": 200,
"message": "SUCCESS",
"minId": 2,
"time": 1622856035,
"data": [
{
"goods_id": "6918597237949694023",
"goods_name": "【双层防烫 无缝内胆】1.5L家用不锈钢烧水壶电热水壶",
"goods_desc": "",
"dest_url": "https://m.vip.com/product-1710615687-6918597237949694023.html",
"goods_thumb_url": "https://a.vpimg3.com/upload/merchandise/pdcvis/610241/2021/0525/168/9b9bdfb5-3de7-472e-b478-f54a5ad26592_750x750_50.jpg",
"goods_main_picture": "https://a.vpimg3.com/upload/merchandise/pdcvis/610241/2021/0525/168/9b9bdfb5-3de7-472e-b478-f54a5ad26592.jpg",
"goods_carousel_pictures": [],
"goods_detail_pictures": [],
"source_type": 0,
"market_price": "319.00",
"vip_price": "58.00",
"commission_rate": "0.85",
"commission": "0.49",
"discount": "2.2",
"brand_id": 1710615687,
"brand_store_sn": "10001363",
"brand_name": "美的",
"brand_logo_full": "http://a.vpimg3.com/upload/brandcool/0/LOGO/10001363/d859cb49c8f9457ca76de6f7ce9d59e1/primary.png",
"scheme_end_time": 2145888000,
"sell_time_from": 1537949668,
"sell_time_to": 1735660800,
"weight": "",
"store_id": "ST00000",
"store_name": "唯品自营",
"sale_stock_status": "",
"status": 1,
"is_prepay": 0,
"deduction_price": "",
"act_type": "",
"act_name": "",
"begin_time": 0,
"end_time": 0,
"fore_show_begin_time": 0
}
]
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>