Changes between Version 1 and Version 2 of pconline_3.10.0/interface


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

--

Legend:

Unmodified
Added
Removed
Modified
  • pconline_3.10.0/interface

    v1 v2  
    8787 
    8888}}} 
     89 
     90=== 3.1 [=#point301 资讯列表 - 增加专题ID] === 
     91 
     92{{{ 
     93备注:此接口返回系统消息列表 
     94 mrobot接口:暂无 
     95 后端接口:http://mrobot.pconline.com.cn/v2/cms/channels/999?pageNo=1&pageSize=20 
     96 HTTP请求方式:get 
     97 是否需要登录:是 
     98 返回格式:json 
     99 缓存方式:无 
     100 缓存时间:无 
     101 请求参数: 
     102         pageNo=页码 
     103         pageSize=一页条数,默认20,最大500 
     104 返回参数: 
     105  
     106 
     107{ 
     108     "articleList": [   //文章列表 
     109        { 
     110            "bigImage": "http://img0.pconline.com.cn/pconline/1409/19/5460676_51_1k6tu9yn_thumb.jpg", 
     111            "cmtCount": 文章评论数, 
     112            "id": 文章id, 
     113            "image": 文章图片地址, 
     114            "pubDate": 发布时间, 
     115            "title": 标题, 
     116            "url": 文章详情地址, 
     117                        "topicId":专题ID(可以为空) 
     118        } 
     119    ], 
     120    "focus": [ 
     121        { 
     122            "counter": "", 
     123            "id":  文章id, 
     124            "image": 文章图片地址,, 
     125            "pubDate": 发布时间, 
     126            "title": 标题, 
     127            "url": 文章详情地址, 
     128                        "topicId":专题ID(可以为空) 
     129        } 
     130    ], 
     131    ... 
     132    "total": 文章总数量       
     133} 
     134}}}