Changes between Version 170 and Version 171 of pcauto_4.0.0/interface


Ignore:
Timestamp:
10/28/2013 04:26:39 PM (12 years ago)
Author:
fuxingfang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.0.0/interface

    v170 v171  
    124124=== 2.3 [=#point203 头条]=== 
    125125{{{ 
    126     url:http://mrobot.pcauto.com.cn/v2/cms/channels/1?serialIds=3524,8670 (暂时不出静态数据) 
     126    url:http://mrobot.pcauto.com.cn/v2/cms/channels/1?serialIds=8670,4313,4457,3524&pageNo=1 
    127127    作用:获取头条数据, 
    128128    使用范围:汽车网app 
     
    132132    设计稿:http://192.168.50.175/work/201309/pcauto4.0/shouye%20-%20daohang/page.html                    
    133133    请求参数: 
    134           pageSize 
    135           pageNo    
    136           serialIds  // 已经订阅的车系id,逗号分割 
     134          pageNo:页数 
     135          pageSize:每页显示的条数 
     136          serialIds已经订阅的车系id,逗号分割 
    137137    返回参数: 
    138138"pageNo":1, 
    139139"pageSize":20, 
    140 "total":300,   // 栏目内容总数,最多300条 
     140"total":300,   //栏目内容总数,最多300条 
    141141"data": [ 
    142142{ 
     
    144144"id": "2965125",     // 文章、帖子或者图集id 
    145145"type":1,           // 类型,1为文章,2为帖子,3为图集 
    146 "image": "http://img0.pcauto.com.cn/pcauto/1308/29/g_2965125_1377744114989_240x160.jpg",   //导读图 
    147 "title": "[直播]成都车展探馆:奥迪RS5 Coupe亮相",      //内容标题 
    148 "channel":"所属栏目"    // 所属栏目,指3.6.0mrobot整理的栏目 
     146"image": "",       //导读图 
     147"title": "",       //内容标题 
     148"channelName":"所属栏目",    //如果是文章存在此字段,所属栏目,指3.6.0 mrobot整理的栏目 
     149"forumName":"版块名称",     //如果是帖子存在此字段, 所属版块 
    149150"ups":123,    // 赞的数量 
    150151"downs":123    // 踩的数量 
     152"pubDate":"2013-10-28"  //发布日期 
    151153}, 
    152154... 
    153155], 
    154 "focus":[ 
    155 { 
    156 "img:":"http://img0.pcauto.com.cn/pcauto/1308/29/g_2965125_1377744114989_240x160.jpg", 
    157 "id":111111  // 同上 
    158 } 
    159 ], 
    160 topArticles:[], 
    161 topFocus:[] 
     156"focus":[], //照旧 
     157topArticles:[ 
     158{ 
     159 
     160floorCount: 0, 
     161image: "http://img0.pcauto.com.cn/pcauto/client/news/lubianshe/1306/000000000000000000_2.jpg", 
     162preView: "奔腾顶破护栏迎头撞上丰田 两司机全受伤", 
     163pubDate: "2013-03-20", 
     164seq: 1, 
     165title: "奔腾顶破护栏迎头撞上丰田 两司机全受伤", 
     166to-uri: "pcautobrowser://bbs-topic/3842343", 
     167updateAt: 1370620800000, 
     168downs: 0, //踩数 
     169ups: 0    //顶数 
     170}], 
     171topFocus:[] //照旧 
    162172}}} 
    163173 
     
    172182    设计稿:http://192.168.50.175/work/201309/pcauto4.0/shouye%20-%20daohang/page.html                    
    173183    请求参数: 
    174           车系id 
     184          已经订阅的车系id 
    175185          pageNo:页数 
    176186          pageSize:每页显示多少条 
     
    183193{ 
    184194"count": 93,        //如果是文章则为评论数,如果是帖子则为楼层数 
    185 "id": "2965125",      //文章、帖子 
     195"id": "2965125",    //文章、帖子 
    186196"type":1,          //类型,1为文章;2为帖子 
    187 "image": "http://img0.pcauto.com.cn/pcauto/1308/29/g_2965125_1377744114989_240x160.jpg",   //导读图 
    188 "title": "[直播]成都车展探馆:奥迪RS5 Coupe亮相",      //内容标题 
    189 "channelName":"所属栏目",   //所属栏目,指3.6.0mrobot整理的栏目 
    190 "forumName":"论坛版块", 
    191 "ups":123,     //赞的数量 
    192 "downs":123    //踩的数量 
     197"image": "",      //导读图 
     198"title": "",      //内容标题 
     199"channelName":"所属栏目",   //如果是文章存在此字段,所属栏目,指3.6.0mrobot整理的栏目 
     200"forumName":"论坛版块",     //如果是帖子存在此字段,所属版块 
     201"ups":12,     //赞的数量 
     202"downs":23    //踩的数量 
     203pubDate: "2012-03-28" //发布日期 
    193204} 
    194205] 
     
    10501061}}} 
    10511062 
     1063=== 2.39 [=#point239 车系页]=== 
     1064{{{ 
     1065接口地址:http://mrobot.pcauto.com.cn/v3/price/getModelListBySerialId_v4/3404?v=4.0.0 
     1066参数:在原来参数使用的基础上添加参数v=4.0.0 
     1067需求:更改为整个车系页都由HTML实现[[BR]] 
     1068设计稿:http://192.168.50.175/work/201309/pcauto4.0/chexing/chexi.html[[BR]] 
     1069}}} 
     1070 
    10521071== 3.开发时间、负责人、进度和实现方式== 
    10531072 
     
    10551074||第一批|| 首页 ||2.1 [#point201 左侧主菜单 ] ||- || - ||  - || 完成 || - || madmin配置 
    10561075||第一批|| 首页 ||2.2 [#point202 默认订阅栏目 ] ||- || - || - || 完成  || - || madmin配置 
    1057 ||第一批|| 首页 ||2.3 [#point203 头条 ] ||- || - || - || - || - || mrobot实现 
    1058 ||第一批|| 车系聚合页 ||2.3.1 [#point203 车系聚合页 ] ||- || - || - || 静态数据 || - || mrobot实现 
     1076||第一批|| 首页 ||2.3 [#point203 头条 ] ||- || - || - || 可内测 || - || mrobot实现 
     1077||第一批|| 车系聚合页 ||2.3.1 [#point203 车系聚合页 ] ||- || - || - || 可内测 || - || mrobot实现 
    10591078||第一批|| 文章、帖子、图集 ||2.4 [#point204 赞和踩 ] ||- || -  || - || - || -  || 外部系统实现 
    10601079||第一批|| 资讯栏目 ||2.5 [#point205 搜索栏目文章 ] ||- || - || - || 可内测 || - || mrobot实现