Changes between Version 295 and Version 296 of pcauto_4.0.0/interface
- Timestamp:
- 11/15/2013 03:52:48 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_4.0.0/interface
v295 v296 1289 1289 === 2.45 [=#point245 获取顶踩数]=== 1290 1290 {{{ 1291 url: 1291 url:http://mrobot.pcauto.com.cn/v3/cmt/getUpsDowns?params= 1292 1292 作用:获取某个对象的顶踩数 1293 1293 使用范围:汽车网app 1294 1294 是否需要登录:否 1295 http请求方式: post1295 http请求方式:get 1296 1296 请求参数: 1297 id // 参考2.4赞和踩 1298 type // 参考2.4赞和踩 1299 返回参数: 1300 { 1301 "ups":123, // 赞的数量 1302 "downs":123 // 踩的数量 1303 } 1297 params:此参数为json格式的字符串,具体格式如下: 1298 { 1299 "flag": 1, 1300 "params": [ 1301 { 1302 "type": 1, //对象类型,1为文章;2为帖子;3为图集 1303 "id": 3147444 //文章id、帖子id或者图集id 1304 }, 1305 { 1306 "type": 2, 1307 "id": 17365 1308 }, 1309 { 1310 "type": 3, 1311 "id": 8911 1312 } 1313 ] 1314 } 1315 返回参数: 1316 [ 1317 { 1318 "id": 3147444, 1319 "resultCode": 0, 1320 "downs": 1, //踩数 1321 "ups": 1,//顶数 1322 "type": 1, 1323 "msg": "Ok" 1324 } 1325 ] 1304 1326 }}} 1305 1327
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)