Changes between Initial Version and Version 1 of shangpinbaike


Ignore:
Timestamp:
04/13/2016 12:31:42 PM (10 years ago)
Author:
wuyuanbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • shangpinbaike

    v1 v1  
     1== 批量查询爆料点赞、踩、收藏数、评论数 == 
     2 
     3> 线上:http://best.pconline.com.cn/intf/shangpinbaike/getTopicAttributes.jsp 
     4 
     5**说明** 
     6 
     7> 根据爆料ID出爆料点赞、踩、收藏数、评论数,批量查询 
     8 
     9**提交方式** 
     10 
     11> post 
     12 
     13**是否需要登录** 
     14 
     15> false 
     16 
     17**缓存方式** 
     18 
     19> 无 
     20 
     21**缓存时间** 
     22 
     23> 无 
     24 
     25**参数** 
     26 
     27||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     28||ids||爆料id,用英文逗号隔开||string||""||是|| 
     29||callback||回调参数||string||""||否|| 
     30 
     31 
     32**返回** 
     33{{{#!java 
     34result { 
     35    "data":[ 
     36        { 
     37            "badCount":1,//踩次数 
     38            "commentCount":0,//评论数 
     39            "favoriteCount":1,//收藏数 
     40            "goodCount":7,//点赞数 
     41            "topicId":2//爆料id 
     42        }, 
     43        { 
     44            "badCount":5, 
     45            "commentCount":0, 
     46            "favoriteCount":0, 
     47            "goodCount":4, 
     48            "topicId":11 
     49        }, 
     50        { 
     51            "badCount":0, 
     52            "commentCount":0, 
     53            "favoriteCount":0, 
     54            "goodCount":4, 
     55            "topicId":22 
     56        } 
     57    ], 
     58    "msg":"success",  
     59    "status":1 
     60} 
     61}}} 
     62**返回状态** 
     63||= status =||= msg =||= 说明 =|| 
     64||1||success||请求成功|| 
     65||0||null||结果为空|| 
     66||-1||parameter error||参数错误|| 
     67 
     68 
     69----