| Version 11 (modified by wuyuanbo, 10 years ago) (diff) |
|---|
Table of Contents
消费百科接口
根据所属地域查询电商列表
线上: http://best.pconline.com.cn/intf/xiaofeibaike/getMallByType.jsp
说明
根据所属地域查询电商列表,支持跨域
提交方式
get
是否需要登录
false
缓存方式
ATS
缓存时间
10分钟
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 |
|---|---|---|---|---|
| typeIds | 国内外电商 0国内电商 1国外电商 2跨境电商 3转运公司 | string | "0,1,2,3" | 是 |
| callback | 回调参数 | string | "" | 否 |
| pageNo | 页数,默认为1 | int | "" | 否 |
| pageSize | 每页数量,默认为10,最大为100 | int | "" | 否 |
返回
{
//国内电商
"data_0":[
{
"Logo":"http://dev2.pconline.com.cn/c0/114692_1460009584501.jpg",
"name":"测试电商1",
"seq":1,
"url":"http://best.pconline.com.cn/mall/网易考拉海购/youhui"
}
],
//国外电商
"data_1":[
{
"Logo":"http://dev2.pconline.com.cn/c0/114692_1460009584501.jpg",
"name":"测试电商1",
"seq":1,
"url":"http://best.pconline.com.cn/mall/网易考拉海购/youhui"
}
],
//跨境电商
"data_2":[
{
"Logo":"http://dev2.pconline.com.cn/c0/114692_1460009584501.jpg",
"name":"测试电商1",
"seq":1,
"url":"http://best.pconline.com.cn/mall/网易考拉海购/youhui"
}
],
//转运公司
"data_3":[
{
"Logo":"http://dev2.pconline.com.cn/c0/114692_1460009584501.jpg",
"name":"测试电商1",
"seq":1,
"url":"http://best.pconline.com.cn/mall/网易考拉海购/youhui"
}
],
"msg":"success",
"status":1
}
返回状态
| status | msg | 说明 |
|---|---|---|
| 1 | success | 请求成功 |
| -1 | parameter error | 请求参数错误 |
| -2 | 请求方式错误 | 请求方式错误 |
--
获取咨询爆料
线上: http://best.pconline.com.cn/intf/xiaofeibaike/getConsultTopic.jsp
说明
获取咨询爆料
提交方式
post
是否需要登录
false
缓存方式
ATS
缓存时间
10分钟
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 |
|---|---|---|---|---|
| pageSize | 每页数量,默认为5,最大为100 | int | "" | 否 |
返回
{
"data":[
{
"topicId" : 12321, //爆料id
"title" : "Dr.Ci.Labo 城野医生 紧致滋润BB霜 3270日元", //标题
"shortTitle" : "紧致滋润BB霜", //标题
"price" : "187元", //价格描述
"auditAt" : "2016-04-13 14:20:05", //审核时间
"url" : "http://best.pconline.com.cn/mall/网易考拉海购/youhui", //链接
"img" : "http://v46.pconline.com.cn/3/c0/8347697_1460526601971.jpg" //封面图片
}
],
"msg":"success",
"status":1
}
返回状态
| status | 说明 |
|---|---|
| 1 | 请求成功 |
| -1 | 系统出错 |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)