Changes between Version 28 and Version 29 of pclady_news2.0.0_api


Ignore:
Timestamp:
12/23/2015 03:54:47 PM (10 years ago)
Author:
hezhenwei1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pclady_news2.0.0_api

    v28 v29  
    158158      "tagID":"标签ID", 
    159159      "tagText":"标签文本" 
    160     } 
     160    }, 
     161    ...... 
    161162  ] 
    162163} 
     
    176177[[BR]] 
    177178=== 1.3文章评论列表 === 
    178 mrobot地址:  http://mrobot.pclady.com.cn/v3/cmt/new_topics/13307019?articleId=6111016&pageSize=20&pageNo=1&reverse=0 
     179mrobot地址:  http://mrobot.pclady.com.cn/v3/cmt/new_topics/topicID?articleId=6111016&pageSize=20&pageNo=1&reverse=0 
    179180 
    180181**说明** 
     
    201202 
    202203||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||=说明=|| 
    203 ||= topicId =||= 主题ID =||= string =||= "" =||= 是 =||= 一般来说和articleId一样,如果获取文章时有返回此参数,就用该参数,没有的话就用articleId =|| 
     204||= topicID =||= 主题ID =||= string =||= "" =||= 是 =||= 需要获取评论主题id =|| 
    204205||= articleId =||= 文章ID =||= string =||= "" =||= 是 =||=  =|| 
    205206||= reverse =||= 排序方式 =||= string =||= "" =||= 是 =||= 0  倒序; 1 正序 =|| 
    206 ||= pageNo =||= 页码 =||= int =||= "" =||= 是 =||=  =|| 
    207 ||= pageSize =||= 每页行数 =||= int =||= "" =||= 是 =||=  =|| 
    208  
    209 **返回** 
    210  
    211 {{{#!java 
    212 { 
    213     "comments": [ 
    214         { 
    215             "1": { 
    216                 "client": "2", 
    217                 "content": "一加总说自己不是oppo的儿子,拿你爹的衣服改改你确实也能穿,全是靠oppo的支持还跑出来谈独立。", 
    218                 "face": "http://i7.3conline.com/images/upload/upc/face/81/37/03/3/8137033_50x50", 
    219                 "floor": "46", 
    220                 "from": "来自Android客户端网友", 
    221                 "id": "39202998", 
    222                 "name": "guohuang16888", 
    223                 "time": "2015-02-07 08:54:56", 
    224                 "userId": "8137033" 
    225             }, 
    226             "2": { 
    227                 "client": "6", 
    228                 "content": "其实吧,他能提供优秀的硬件与服务对我们消费者来说就够了,一加是谁的儿子关我们体验什么事", 
    229                 "face": "http://i7.3conline.com/images/upload/upc/face/0/0_50x50", 
    230                 "floor": "47", 
    231                 "from": "来自PConline触屏版", 
    232                 "id": "39203202", 
    233                 "name": "广东省广州市网友", 
    234                 "time": "2015-02-07 10:21:50", 
    235                 "userId": "0" 
    236             }, 
    237             ...... 
    238             "current": "6", 
    239             "expand": false, 
    240             "support": "1" 
    241         }, 
    242                 ...... 
    243     ], 
    244     "docUrl": "http://mrobot.pconline.com.cn/v3/cms/articles/6111016", 
    245     ], 
    246     "pageCount": 4, 
    247     "pageNo": 1, 
    248     "total": 75 
     207 
     208**返回** 
     209 
     210{{{#!java 
     211{ 
     212  "comments": [ 
     213    {  //没有引用其他评论的评论 
     214      "1": { //表达其引用关系的key 
     215        "id":"24991904",//帖子id 
     216        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ",  //用户名称 
     217        "floor": "1737",  //楼层 
     218        "time": "2013-01-05 09:05:40",  //时间 
     219        "content": "内容过于暴力,已和谐" //内容 
     220      }, 
     221      "current":"1",               //当前最外层引用标识 
     222      "support":"10086"       //"顶"数量 
     223      "expand":false  //判断是否展开,默认为false 
     224    }, 
     225    { 
     226      "3": { 
     227        "id":"24991804",//帖子id 
     228        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
     229        "floor": "1737", 
     230        "time": "2013-01-05 09:05:40", 
     231        "content": "内容过于暴力,已和谐" 
     232      }, 
     233      "2": { 
     234        "id":"24941904",//帖子id 
     235        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
     236        "floor": "1737", 
     237        "time": "2013-01-05 09:05:40", 
     238        "content": "内容过于暴力,已和谐" 
     239      }, 
     240      "1": { 
     241        "id":"24491904",//帖子id 
     242        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
     243        "floor": "1737", 
     244        "time": "2013-01-05 09:05:40", 
     245        "content": "内容过于暴力,已和谐" 
     246      }, 
     247      "4": { 
     248        "id":"24993904",//帖子id 
     249        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
     250        "floor": "1737", 
     251        "time": "2013-01-05 09:05:40", 
     252        "content": "内容过于暴力,已和谐" 
     253      }, 
     254      "current":"4", 
     255      "support":"10086" //顶数 
     256      "expand":false  //判断是否展开,默认为false 
     257    } 
     258  ], 
     259  "hot-comments": [ 
     260    {  //没有引用其他评论的评论 
     261      "1": { //表达其引用关系的key 
     262        "id":"24691904",//帖子id 
     263        "name": "不是网易的江苏省盐城市网友 帅气飞扬: ",  //用户名称 
     264        "floor": "1737",  //楼层 
     265        "time": "2013-01-05 09:05:40",  //时间 
     266        "content": "内容过于暴力,已和谐" //内容 
     267      }, 
     268      "current":"1" 
     269      "support":"10086" //顶数 
     270      "expand":false  //判断是否展开,默认为false 
     271    } 
     272  ], 
     273  "docUrl": "http://im_an_artical" 
    249274} 
    250275