Changes between Version 5 and Version 6 of pconline_3.10.0/interface


Ignore:
Timestamp:
09/19/2014 11:54:54 AM (12 years ago)
Author:
wuchangbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pconline_3.10.0/interface

    v5 v6  
    8989 
    9090=== 3.1 [=#point301 资讯列表 - 增加专题ID(topicId)] === 
    91  
    9291{{{ 
    9392备注:此接口返回资讯消息列表 
     
    131130} 
    132131}}} 
     132 
     133=== 3.2 [=#point302 专题列表 - JSON格式跟资讯的一样] === 
     134备注:此接口返回专题列表 
     135 mrobot接口:暂无 
     136 后端接口:http://mrobot.pconline.com.cn/v2/cms/topics/{专题ID}?pageNo=1&pageSize=20 
     137 HTTP请求方式:get 
     138 是否需要登录:是 
     139 返回格式:json 
     140 缓存方式:无 
     141 缓存时间:无 
     142 请求参数: 
     143         pageNo=页码 
     144         pageSize=一页条数,默认20,最大500 
     145 返回参数: 
     146  
     147{ 
     148     "articleList": [   //文章列表 
     149        { 
     150            "bigImage": "http://img0.pconline.com.cn/pconline/1409/19/5460676_51_1k6tu9yn_thumb.jpg", 
     151            "cmtCount": 文章评论数, 
     152            "id": 文章id, 
     153            "image": 文章图片地址, 
     154            "pubDate": 发布时间, 
     155            "title": 标题, 
     156            "url": 文章详情地址, 
     157                        "topicId":专题ID(可以为空) 
     158        } 
     159    ], 
     160    "focus": [ 
     161        { 
     162            "counter": "", 
     163            "id":  文章id, 
     164            "image": 文章图片地址,, 
     165            "pubDate": 发布时间, 
     166            "title": 标题, 
     167            "url": 文章详情地址, 
     168                        "topicId":专题ID(可以为空) 
     169        } 
     170    ], 
     171    ... 
     172    "total": 文章总数量       
     173}