| Version 13 (modified by zhangguangwen, 10 years ago) (diff) |
|---|
Table of Contents
电商
获取电商列表
说明
获取电商列表
提交方式
GET
是否需要登录
否
缓存方式
接口缓存
缓存时间
300秒
参数
返回
result {
status: 1
msg: '请求成功',
data: [$mall]
}
}
获取电商列表,包含该电商的优惠券数量
说明
获取电商列表
提交方式
GET
是否需要登录
否
缓存方式
接口缓存
缓存时间
300秒
参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必须 |
|---|---|---|---|---|
| type | 礼品类型:1 礼品卡 2 实物 3 优惠券 | int | 3 | 是 |
返回
result {
status: 1
msg: '请求成功',
data: [$mallGiftCount]
}
}
}
获取国内货国外电商列表
线上: http://best.pconline.com.cn//intf/app/mall/cache/listMallGroupByType.jsp
说明
出电商列表,按类型分分组
提交方式
get
是否需要登录
false
缓存方式
ats
缓存时间
300秒
参数
无
返回
result {
{
"data":{
"dmall":[
{
"areaType":0,
"imageUrl":"http://img.pconline.com.cn/images/upload/upc/tx/pc_best/1505/19/c3/7004417_1432018877049.jpg",
"mallId":1,
"name":"京东",
"seq":1,
"typeId":0,
"url":"http://www.jd.com"
}
],
"fmall":{ //Europe:欧州,JPA:日本;USA:美国;others:其他
"Europe":[
{
"areaType":3,
"imageUrl":"http://img.pconline.com.cn/images/upload/upc/tx/pc_best/1505/19/c3/7004412_1432018570376.jpg",
"mallId":191,
"name":"德国亚马逊",
"seq":7,
"typeId":1,
"url":"http://www.amazon.de/"
}
],
}
},
"msg":"请求成功",
"status":1
}
}
返回状态
| status | msg | 说明 |
|---|---|---|
| 1 | success | 请求成功 |
| 0 | null | 结果为空 |
| -1 | parameter error | 参数错误 |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)