Changes between Version 21 and Version 22 of pclady_news
- Timestamp:
- 09/12/2014 06:14:10 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pclady_news
v21 v22 25 25 [[http://trac.pc.com.cn/iphone/wiki/pclady_jiekou|接口地址]] 26 26 27 === 6.1 资讯列表接口(每个栏目一个接口)28 备注:29 30 请求URL:31 32 HTTP请求方式:GET33 34 是否需要登录:否35 36 返回格式:json37 38 缓存方式:*39 40 缓存时间:*41 42 请求参数:43 {{{44 "pageNo": 1,45 "pageSize": 1046 }}}47 48 请求后端URL:*49 50 请求后端参数:*51 52 返回:53 {{{54 {55 "msg": "",56 "ret": 0,57 "pageNo": 1,58 "pageSize": 10,59 "total": 5,60 "list": [61 {62 type: 0,63 title: "标题",64 image: "图片URL",65 imageCount: 5,66 category: "穿衣搭配",67 time: "时间"68 }69 ]70 }71 }}}72 73 === 6.2 文章终端页(web,带推荐,协议)74 75 请求URL:76 77 === 6.3 图库终端接口78 79 备注:80 81 请求URL:http://mrobot.pconline.com.cn/v2/photo/albums?modelId=1323482 83 HTTP请求方式:GET84 85 是否需要登录:否86 87 返回格式:json88 89 缓存方式:*90 91 缓存时间:*92 93 请求参数:*94 95 请求后端URL:*96 97 请求后端参数:*98 99 返回:*100 101 === 6.4 检查是否已收藏接口102 103 备注:104 105 请求URL:106 107 HTTP请求方式:GET108 109 是否需要登录:是110 111 返回格式:json112 113 缓存方式:*114 115 缓存时间:*116 117 请求参数:118 119 {{{120 HTTP Header121 Cookie = "common_session_id=xxxx"122 HTTP Body123 id = 8888124 }}}125 126 请求后端URL:*127 128 请求后端参数:*129 130 返回:131 132 {{{133 {134 "msg": "",135 "ret": 0,136 "favor": true137 }138 }}}139 140 === 6.5 收藏接口141 142 备注:143 144 请求URL:145 146 HTTP请求方式:POST147 148 是否需要登录:是149 150 返回格式:json151 152 缓存方式:*153 154 缓存时间:*155 156 请求参数:157 158 {{{159 HTTP Header160 Cookie = "common_session_id=xxxx"161 HTTP Body162 id = 8888163 }}}164 165 请求后端URL:*166 167 请求后端参数:*168 169 返回:170 171 {{{172 {173 "msg": "",174 "ret": 0175 }176 }}}177 178 === 6.6 取消收藏接口179 180 备注:181 182 请求URL:183 184 HTTP请求方式:POST185 186 是否需要登录:是187 188 返回格式:json189 190 缓存方式:*191 192 缓存时间:*193 194 请求参数:195 196 {{{197 HTTP Header198 Cookie = "common_session_id=xxxx"199 HTTP Body200 id = 8888201 }}}202 203 请求后端URL:*204 205 请求后端参数:*206 207 返回:208 209 {{{210 {211 "msg": "",212 "ret": 0213 }214 }}}215 216 === 6.7 我的收藏列表接口217 218 备注:219 220 请求URL:221 222 HTTP请求方式:GET223 224 是否需要登录:是225 226 返回格式:json227 228 缓存方式:*229 230 缓存时间:*231 232 请求参数:233 234 {{{235 HTTP Header236 Cookie = "common_session_id=xxxx"237 HTTP Body238 "pageNo": 1,239 "pageSize": 10240 }}}241 242 请求后端URL:*243 244 请求后端参数:*245 246 返回:247 248 {{{249 {250 "msg": "",251 "ret": 0,252 "pageNo": 1,253 "pageSize": 10,254 "total": 5,255 "list": [256 {257 type: 0,258 title: "标题",259 image: "图片URL",260 time: "时间"261 }262 ]263 }264 }}}265 266 === 6.8 应用推荐(Web)267 268 请求URL:
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)