Changes between Version 111 and Version 112 of pclady_news2.0.0_api


Ignore:
Timestamp:
01/18/2016 11:29:51 AM (10 years ago)
Author:
fuxingfang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pclady_news2.0.0_api

    v111 v112  
    257257[[BR]] 
    258258=== 1.4文章评论列表 (WEB)=== 
    259 mrobot地址:  http://mrobot.pclady.com.cn/v3/cmt/new_topics/topicID?articleId=6111016&pageSize=20&pageNo=1&reverse=0  [[BR]] 
     259mrobot地址:http://mrobot.pclady.com.cn/s/choice/cms/comments.xsp?url=http://pclady.com.cn/pcladynews/article/197.html&pageNo=1&pageSize=5&reverse=0  [[BR]] 
    260260制作搞地址:http://zzsvn.pcauto.com.cn/svn/pclady/mobile/2015/zxapp/comment.html  [[BR]] 
    261261 
    262262**说明** 
    263263 
    264 > 获取文章评论列表,走评论系统,参考电脑网:http://trac.pc.com.cn/iphone/wiki/pconline_3.7.0/interface#a2.2  聚超值:http://trac.pc.com.cn/iphone/wiki/price_jiekou#a2.4评论列表接口 
     264> 获取文章评论列表 
    265265 
    266266**缓存时间** 
     
    283283 
    284284||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||=说明=|| 
    285 ||= topicID =||= 主题ID =||= string =||= "" =||= 是 =||= 需要获取评论主题id,主题id由固定url(待定)+id 组成 =|| 
    286 ||= ID =||= 文章或活动ID =||= string =||= "" =||= 是 =||=  =|| 
    287 ||= reverse =||= 排序方式 =||= string =||= "" =||= 是 =||= 0  倒序; 1 正序 =|| 
    288  
    289 **返回** 
    290  
    291 {{{#!java 
    292 { 
    293   "comments": [ 
    294     {  //没有引用其他评论的评论 
    295       "1": { //表达其引用关系的key 
    296         "id":"24991904",//帖子id 
    297         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ",  //用户名称 
    298         "floor": "1737",  //楼层 
    299         "time": "2013-01-05 09:05:40",  //时间 
    300         "content": "内容过于暴力,已和谐" //内容 
    301       }, 
    302       "current":"1",               //当前最外层引用标识 
    303       "support":"10086"       //"顶"数量 
    304       "expand":false  //判断是否展开,默认为false 
    305     }, 
    306     { 
    307       "3": { 
    308         "id":"24991804",//帖子id 
    309         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
    310         "floor": "1737", 
    311         "time": "2013-01-05 09:05:40", 
    312         "content": "内容过于暴力,已和谐" 
    313       }, 
    314       "2": { 
    315         "id":"24941904",//帖子id 
    316         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
    317         "floor": "1737", 
    318         "time": "2013-01-05 09:05:40", 
    319         "content": "内容过于暴力,已和谐" 
    320       }, 
    321       "1": { 
    322         "id":"24491904",//帖子id 
    323         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
    324         "floor": "1737", 
    325         "time": "2013-01-05 09:05:40", 
    326         "content": "内容过于暴力,已和谐" 
    327       }, 
    328       "4": { 
    329         "id":"24993904",//帖子id 
    330         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ", 
    331         "floor": "1737", 
    332         "time": "2013-01-05 09:05:40", 
    333         "content": "内容过于暴力,已和谐" 
    334       }, 
    335       "current":"4", 
    336       "support":"10086" //顶数 
    337       "expand":false  //判断是否展开,默认为false 
    338     } 
    339   ], 
    340   "hot-comments": [ 
    341     {  //没有引用其他评论的评论 
    342       "1": { //表达其引用关系的key 
    343         "id":"24691904",//帖子id 
    344         "name": "不是网易的江苏省盐城市网友 帅气飞扬: ",  //用户名称 
    345         "floor": "1737",  //楼层 
    346         "time": "2013-01-05 09:05:40",  //时间 
    347         "content": "内容过于暴力,已和谐" //内容 
    348       }, 
    349       "current":"1" 
    350       "support":"10086" //顶数 
    351       "expand":false  //判断是否展开,默认为false 
    352     } 
    353   ], 
    354   "docUrl": "http://im_an_articlel" 
    355 } 
    356  
    357 }}} 
     285||= url=||= 文章url =||= string =||= "" =||= 是 =||= 文章url =|| 
     286||= pageNo=||= 第几页 =||= int =||= 1 =||= 是 =||= 第几页 =|| 
     287||= pageSize=||= 每页显示的条数 =||= int=||= 20 =||= 是 =||= 每页显示的条数 =|| 
     288||= reverse =||= 排序方式 =||= int=||= 0 =||= 是 =||= 0  倒序; 1 正序 =|| 
     289 
     290**返回** 
     291HTML页面 
     292 
    358293**返回参数说明** 
    359294||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=||