Changes between Initial Version and Version 1 of jianxun/mrobotCommentInterface


Ignore:
Timestamp:
08/02/2013 09:47:38 AM (13 years ago)
Author:
xieweijie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jianxun/mrobotCommentInterface

    v1 v1  
     1'''瀑布流评论接口'''[[BR]] 
     2接口参数[[BR]] 
     3{{{ 
     4pageSize 每页评论数 
     5pageNo 第几页 
     6url 文章评论url,例如 http://magazine.pchouse.com.cn/230/2229 
     7}}} 
     8返回格式[[BR]] 
     9{{{ 
     10{ 
     11    "total": 33, 评论总条数,回复评论的评论不当作评论数 
     12    "pageNo": 1, 返回第几页 
     13    "pageSize": 500, 每页多少条 
     14    "data": [ 
     15             { 
     16             "id": 25819160, 评论id 
     17             "content": "好评", 评论内容 
     18             "createTime": "2013-08-01 09:25:17", 评论创建时间 
     19             "support": 0, 支持数 
     20             "floor": 35, 楼层 
     21             "nickName": "家居杂志iPad客户端网友", 评论昵称 
     22             "facePic":"", 评论用户头像,没头像则返回"" 
     23             "replyRef": [ 
     24                          { 
     25                          "content": "这期闪退的厉害!!!怎么回事!!", 回复内容 
     26                          "id": 25817587, 回复评论id 
     27                          "createTime": "2013-07-31 18:24:09", 回复创建时间 
     28                          "floor": 34, 回复楼层,对应旧评论结构回复楼层 
     29                          "support": 2, 支持数 
     30                          "nickName": "家居杂志iPad客户端网友", 回复用户昵称 
     31                          "facePic":"", 回复用户头像,没头像则返回"" 
     32                          "toReplyNickname":"被回复用户昵称" 被回复用户昵称,相当于旧结构的引用楼层用户昵称 
     33                          }, 
     34                          ... 
     35                          ] 
     36             }, 
     37             ... 
     38             ] 
     39} 
     40}}}