| Version 2 (modified by pengzhanxuan, 11 years ago) (diff) |
|---|
Table of Contents
收藏
收藏
my/collect/collectForApp.do
说明
收藏
参数
- common_session_id
- topicId
返回
result {
status: 1,
msg: '收藏成功'
}
取消收藏
my/collect/decollectForApp.do
说明
取消收藏
参数
- common_session_id
- topicId
返回
result {
status: 1,
msg: '取消收藏成功'
}
获取收藏列表
my/collect/listCollects.do
说明
获取收藏列表
参数
- common_session_id
- pageNo
- pageSize
- index 1 海淘, 2 优惠, 3 发现, 4 经验, 5 晒物
- hd 清晰度 0 标清,1 高清
返回
result {
pageNo: 1,
pageSize: 10,
total: 20,
pageTotal: 2,
msg: '请求成功',
data: [
$collect
]
}
获取用户各个频道的收藏数量
my/collect/countCollects.do
说明
获取收藏列表
参数
- common_session_id
返回
result {
status: 1
msg: '请求成功',
data: [$sectionExtend]
}
获取某个爆料的收藏数量
collect/getTopicCollectCount.do
说明
获取某个爆料的收藏数量
参数
- common_session_id
- topicId
返回
result {
status: 1
msg: '请求成功',
hasCollect: 0, // 0 表示未收藏 1 表示已收藏
count: 12
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)