| Version 2 (modified by pengzhanxuan, 11 years ago) (diff) |
|---|
组合给复杂页面渲染数据的接口
首页数据接口
/app/facade/cache/index.do
说明
获取推荐首页的所有爆料 + 推荐位(自定义排序) + 精选试用 + 精选优惠券
请求参数
- pageNo
- pageSize
返回
result {
status: 1
pageNo: 1
pageSize: 20,
total: 100,
pageTotal: 5,
msg: '请求成功',
data: [$indexVo]
}
广场数据结构
/app/facade/cache/sunplaza.do
说明
获取广场首页需要的内容
参数
返回
result {
status: 1
msg: '请求成功',
data:{
sunplazaEntrys: [$sunplazaEntry],
hotSpecial: $special,
activitys: $setupActivity,
gift: $gift, // 优惠券
trial: $trial,
hotTopics: [$topic]
}
}
终端页数据接口
/app/facade/cache/topicDetail.do
说明
获取爆料终端页的详细内容
参数
- topicId
返回
result {
status: 1
msg: '请求成功',
data:{
topic: $topic,
purchasings: [$purchasing]
}
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)