Changes between Version 4 and Version 5 of pclady_jiekou
- Timestamp:
- 09/19/2014 04:13:51 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pclady_jiekou
v4 v5 81 81 备注: 82 82 83 请求URL: 84 85 HTTP请求方式:GET 86 87 是否需要登录:是 88 89 返回格式:json 90 91 缓存方式:* 92 93 缓存时间:* 94 95 请求参数: 96 97 {{{ 98 HTTP Header 99 Cookie = "common_session_id=xxxx" 100 HTTP Body 101 id = 888883 请求URL:http://v49.pclady.com.cn/users/isfavor.do?id=953577 84 85 HTTP请求方式:GET 86 87 是否需要登录:是 88 89 返回格式:json 90 91 缓存方式:* 92 93 缓存时间:* 94 95 请求参数: 96 97 {{{ 98 HTTP Header 99 Cookie = "common_session_id=xxxx" 100 HTTP Body 101 id = 953577 102 102 }}} 103 103 … … 114 114 "favor": true 115 115 } 116 提示说明: 117 {"ret= 1":"favor:true","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=2":"favor:false"} 116 118 }}} 117 119 … … 120 122 备注: 121 123 122 请求URL: 124 请求URL:http://v49.pclady.com.cn/users/favor.do?id=953577 123 125 124 126 HTTP请求方式:POST … … 138 140 Cookie = "common_session_id=xxxx" 139 141 HTTP Body 140 id = 8888142 id = 953577 141 143 }}} 142 144 … … 152 154 "ret": 0 153 155 } 156 提示说明: 157 {"ret= 1":"msg:收藏成功","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=-3":"msg:你已经收藏过了"} 154 158 }}} 155 159 … … 158 162 备注: 159 163 160 请求URL: 164 请求URL:http://v49.pclady.com.cn/users/unfavor.do?id=953577 161 165 162 166 HTTP请求方式:POST … … 176 180 Cookie = "common_session_id=xxxx" 177 181 HTTP Body 178 id = 8888182 id = 953577 179 183 }}} 180 184 … … 190 194 "ret": 0 191 195 } 196 提示说明: 197 {"ret= 1":"msg:取消收藏成功","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=-3":"msg:你并没有收藏此文章"} 192 198 }}} 193 199 … … 196 202 备注: 197 203 198 请求URL: 204 请求URL:http://v49.pclady.com.cn/users/pagefavor.do?pageNo=1&pageSize=10 199 205 200 206 HTTP请求方式:GET
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)