Changes between Version 2 and Version 3 of app2.0/getTopics
- Timestamp:
- 03/25/2016 11:05:14 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app2.0/getTopics
v2 v3 95 95 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 96 96 ||topicId||爆料id||string||""||是|| 97 ||num|| 爆料id||string||""||是||97 ||num||原有收藏数||string||""||是|| 98 98 ||isCollect||/收藏或取消收藏 0取消收藏 1收藏||string||""||是|| 99 99 … … 102 102 {{{#!java 103 103 result { 104 "data":[ 105 { 106 "badCount":1,//踩次数 107 "commentCount":0,//评论数 108 "favoriteCount":1,//收藏数 109 "goodCount":7,//点赞数 110 "topicId":2//爆料id 111 }, 112 { 113 "badCount":5, 114 "commentCount":0, 115 "favoriteCount":0, 116 "goodCount":4, 117 "topicId":11 118 }, 119 { 120 "badCount":0, 121 "commentCount":0, 122 "favoriteCount":0, 123 "goodCount":4, 124 "topicId":22 125 } 126 ], 127 "msg":"success", 104 "count":1,//收藏数 128 105 "status":1 129 106 } 130 107 }}} 131 108 **返回状态** 132 ||= status =||= msg =||= 说明 =|| 133 ||1||success||请求成功|| 134 ||0||null||结果为空|| 135 ||-1||parameter error||参数错误|| 109 ||= status =||= desc =||= 说明 =|| 110 ||1||已收藏||1收藏成功|| 111 ||2|| ||收藏不成功|| 112 ||3|| ||爆料不存在|| 113 ||4|| ||取消收藏成功|| 114 ||0||正在收藏,请稍候!||已收藏不能再收藏|| 115 ||-1|| ||未登录||
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)