Changes between Version 70 and Version 71 of pclady_news2.0.0_api


Ignore:
Timestamp:
12/29/2015 04:42:47 PM (10 years ago)
Author:
hezhenwei1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pclady_news2.0.0_api

    v70 v71  
    132132||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||=说明=|| 
    133133||= articleID =||= 文章ID =||= string =||= "" =||= 是 =||=  =|| 
     134||= terminal =||= 1:iOS 2:Android =||=int=||= 0 =||= 是 =||=  =|| 
    134135||= fmt =||= fmt=json时直接返回后台json,fmt=wap时返回分享格式的文章终端页,为空时返回客户端使用的文章终端页 =||=String=||=""=||=否=||= =|| 
    135 ||= appVersion= ||= 版本号 =||= string =||= "" =||= 否 =||= 如2.0.0 =|| 
     136||= appVersion= ||= 版本号 =||= string =||= "" =||= 否 =||= 如200 =|| 
    136137||= inReview= ||=1:审核状态 0:发布状态=||=int=||= 0 =||= 否 =||=ios审核时用到 =|| 
    137 ||= terminal =||= 1:iOS 2:Android =||=int=||= 0 =||= 是 =||=  =|| 
    138138||= common_session_id =||= 太平洋通行证session =||= string =||= "" =||= 否 =||= cookies中添加 =|| 
    139139 
     
    714714  "data":{ 
    715715    "mySpecial":{  //我的专题,如果没登陆,或者用户没关注,则不需要返回 
    716       "authorID":"作者ID", 
    717       "authorName":"作者名称", 
    718       "authorUrl":"作者头像", 
    719       "articleID":"文章id" 
    720       "imageUrl":"文章图片", 
    721       "title":"文章标题", 
    722       "desc":"文章正文前xxx字", 
    723716      "newCount":"已更新文章数" 
    724717    }, 
     
    733726      ...... 
    734727    ], 
    735     "specialList":[    //一级专题列表中包含最多4个二级专题 
     728    "specialList":[    //一级专题列表中包含3个二级专题 
    736729      { 
    737730        "specialID":"专题ID", 
     
    11071100||= activityID =||= 活动ID =||= string =||= "" =||= 是 =||=  =|| 
    11081101||= activityType =||= 活动类型 =||= string =||= "1" =||= 是 =||= 1:投票,2:话题  =|| 
     1102||= terminal =||= 1:iOS 2:Android =||=int=||= 0 =||= 是 =||=  =|| 
     1103||= fmt =||= fmt=json时直接返回后台json,fmt=wap时返回分享格式的文章终端页,为空时返回客户端使用的文章终端页 =||=String=||=""=||=否=||= =|| 
     1104||= appVersion= ||= 版本号 =||= string =||= "" =||= 否 =||= 如200 =|| 
     1105||= inReview= ||=1:审核状态 0:发布状态=||=int=||= 0 =||= 否 =||=ios审核时用到 =|| 
    11091106||= common_session_id =||= 太平洋通行证session =||= string =||= "" =||= 否 =||= cookies中添加 =|| 
    1110 ||= fmt =||= fmt=json 时显示接口数据=||=String=||=""=||=否=||= =|| 
    1111 ||= appVersion= ||=版本号=||=string=||=""=||= 否 =||= =|| 
    1112 ||= inReview= ||=1:审核状态 0:发布状态=||=int=||= 0 =||= 否 =||=ios审核时用到 =|| 
    11131107 
    11141108 
     
    11831177||= activityID =||= 活动ID =||= string =||= "" =||= 是 =||=  =|| 
    11841178||= activityType =||= 活动类型 =||= string =||= "2" =||= 是 =||= 1:投票,2:话题  =|| 
     1179||= terminal =||= 1:iOS 2:Android =||=int=||= 0 =||= 是 =||=  =|| 
     1180||= fmt =||= fmt=json时直接返回后台json,fmt=wap时返回分享格式的文章终端页,为空时返回客户端使用的文章终端页 =||=String=||=""=||=否=||= =|| 
     1181||= appVersion= ||= 版本号 =||= string =||= "" =||= 否 =||= 如200 =|| 
     1182||= inReview= ||=1:审核状态 0:发布状态=||=int=||= 0 =||= 否 =||=ios审核时用到 =|| 
    11851183||= common_session_id =||= 太平洋通行证session =||= string =||= "" =||= 否 =||= cookies中添加 =|| 
    1186 ||= fmt =||= fmt=json 时显示接口数据=||=String=||=""=||=否=||= =|| 
    1187 ||= appVersion= ||=版本号=||=string=||=""=||= 否 =||= =|| 
    1188 ||= inReview= ||=1:审核状态 0:发布状态=||=int=||= 0 =||= 否 =||=ios审核时用到 =|| 
    1189  
    11901184 
    11911185**返回** 
     
    18021796 
    18031797[[BR]] 
     1798=== 5.6我的订阅中文章更新数 === 
     1799开发环境:http://dev15.pclady.com.cn/app/newArticleCount.jsp  [[BR]] 
     1800线上环境:http://plastic.pclady.com.cn/app/newArticleCount.jsp [[BR]] 
     1801mrobot地址:  http://mrobot.pclady.com.cn/newArticleCount.xsp 
     1802 
     1803**说明** 
     1804 
     1805> 获取我的订阅中所有文章更新数[[BR]] 
     1806 
     1807**缓存时间** 
     1808 
     1809>0分钟 
     1810 
     1811**提交方式** 
     1812 
     1813> GET 
     1814 
     1815**是否登录** 
     1816 
     1817> 是 
     1818 
     1819**数据来源** 
     1820 
     1821>编辑后台 
     1822 
     1823**参数** 
     1824 
     1825||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||=说明=|| 
     1826||= common_session_id =||= 太平洋通行证session =||= string =||= "" =||= 是 =||= cookies中添加 =|| 
     1827 
     1828**返回** 
     1829 
     1830{{{#!java 
     1831{ 
     1832  "status":0, 
     1833  "msg":"请求成功", 
     1834  "newArticleCount":"11" 
     1835} 
     1836 
     1837}}} 
     1838**返回参数说明** 
     1839||= 参数名 =||= 参数含义 =||=参数名=||=参数含意=|| 
     1840||= newArticleCount =||= 已更新的文章数量 =||= =||= =|| 
     1841 
     1842[[BR]] 
    18041843== 6.其它 == 
    18051844----------