== 批量查询爆料点赞、踩、收藏数、评论数 == > 线上:http://best.pconline.com.cn/action/topic/getTopics.jsp?ids=2,22,33 **说明** > 根据爆料ID出爆料点赞、踩、收藏数、评论数,批量查询 **提交方式** > get **是否需要登录** > false **缓存方式** > 无 **缓存时间** > 无 **参数** ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| ||ids||爆料id,已英文逗号隔开||string||""||是|| **返回** {{{#!java result { "data":[ { "badCount":1,//踩次数 "commentCount":0,//评论数 "favoriteCount":1,//收藏数 "goodCount":7,//点赞数 "topicId":2//爆料id }, { "badCount":5, "commentCount":0, "favoriteCount":0, "goodCount":4, "topicId":11 }, { "badCount":0, "commentCount":0, "favoriteCount":0, "goodCount":4, "topicId":22 } ], "msg":"success", "status":1 } }}} **返回状态** ||= status =||= msg =||= 说明 =|| ||1||success||请求成功|| ||0||null||结果为空|| ||-1||parameter error||参数错误|| ---- == 收藏接口 == > 线上:http://best.pconline.com.cn/collect/collect.jsp **说明** > 收藏接口,支持跨域,限制每个用户1秒内请求一次 **提交方式** > post **是否需要登录** > true **缓存方式** > 无 **缓存时间** > 无 **参数** ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| ||topicId||爆料id||string||""||是|| ||num||原有收藏数||string||""||是|| ||isCollect||/收藏或取消收藏 0取消收藏 1收藏||string||""||是|| **返回** {{{#!java result { "count":1,//收藏数 "status":1 } }}} **返回状态** ||= status =||= desc =||= 说明 =|| ||1||已收藏||1收藏成功|| ||2|| ||收藏不成功|| ||3|| ||爆料不存在|| ||4|| ||取消收藏成功|| ||0||正在收藏,请稍候!||已收藏不能再收藏|| ||-1|| ||未登录||