Changes between Version 15 and Version 16 of pcauto_4.4.0/interface


Ignore:
Timestamp:
07/21/2014 03:07:31 PM (12 years ago)
Author:
fuxingfang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.4.0/interface

    v15 v16  
    2121 
    2222== 2.接口列表 == 
    23 === 2.1 [=#point201 小编精选推荐]=== 
     23=== 2.1 [=#point201 小编精选推荐](可内测)=== 
    2424{{{ 
    2525 备注:此接口返回若干个小编精选推荐车系,客户端自动筛选4个用以显示 
     
    314314}}} 
    315315 
    316 === 2.6.1 [=#point2061 价格范围]=== 
     316=== 2.6.1 [=#point2061 价格范围](可内测)=== 
    317317{{{ 
    318318 备注:价格范围 
     
    473473}}} 
    474474 
    475 === 2.7.2 [=#point2072 导购栏目列表]=== 
    476 {{{ 
    477 备注:导购栏目列表 
     475=== 2.7.2 [=#point2072 导购栏目列表] (可内测)=== 
     476{{{ 
     477 备注:导购栏目列表 
     478 请求URL:http://mrobot.pcauto.com.cn/v2/cms/getArticlesByTagId/{tagId}?pageNo=1&pageSize=20 
     479 HTTP请求方式:get 
     480 是否需要登录:否 
     481 返回格式:json 
     482 缓存方式:无 
     483 缓存时间:15分钟 
     484 请求参数: 
     485       tagId:价格区间对应的id,从接口http://mrobot.pcauto.com.cn/configs/pcauto_guide_price_range中获取 
     486       pageNo:页数 
     487       pageSize:每页显示多少条 
     488 
     489返回结果: 
     490{ 
     491    "data": [ 
     492        { 
     493            "count": 308, 
     494            "id": "3438040", 
     495            "image": "http://img0.pcauto.com.cn/pcauto/1311/19/g_3438040_1384850430733_240x160.jpg", 
     496            "pubDate": "2013-11-19", 
     497            "title": "不输途观价格更优 斯柯达野帝购车手册", 
     498            "url": "http://www.pcauto.com.cn/teach/343/3438040.html" 
     499        }, 
     500        { 
     501            "count": 248, 
     502            "id": "3441059", 
     503            "image": "http://img0.pcauto.com.cn/pcauto/1311/19/g_3441059_1384863321944_240x160.jpg", 
     504            "pubDate": "2013-11-19", 
     505            "title": "1.8L车型竞争力足 北京现代名图购车手册", 
     506            "url": "http://www.pcauto.com.cn/teach/344/3441059.html" 
     507        }, 
     508        { 
     509            "count": 332, 
     510            "id": "3331703", 
     511            "image": "http://img0.pcauto.com.cn/pcauto/1311/03/g_3331703_1383475180321_240x160.jpg", 
     512            "pubDate": "2013-11-04", 
     513            "title": "以运动之名 15-20万元入门级小钢炮推荐", 
     514            "url": "http://www.pcauto.com.cn/teach/333/3331703.html" 
     515        }, 
     516        { 
     517            "count": 295, 
     518            "id": "3303979", 
     519            "image": "http://img0.pcauto.com.cn/pcauto/1310/28/g_3303979_1382972638878_240x160.jpg", 
     520            "pubDate": "2013-10-31", 
     521            "title": "激情又顾家 20万元级运动款中级车推荐", 
     522            "url": "http://www.pcauto.com.cn/teach/330/3303979.html" 
     523        }, 
     524        { 
     525            "count": 337, 
     526            "id": "3273724", 
     527            "image": "http://img0.pcauto.com.cn/pcauto/1310/26/g_3273724_1382756431874_240x160.jpg", 
     528            "pubDate": "2013-10-27", 
     529            "title": "18万高性价比选择 舒适好开中级车推荐", 
     530            "url": "http://www.pcauto.com.cn/teach/327/3273724.html" 
     531        } 
     532    ], 
     533    "pageCount": 9, 
     534    "pageNo": 1, 
     535    "pageSize": 5, 
     536    "total": 43 
     537} 
     538}}} 
     539 
     540=== 2.7.3 [=#point2073 用车栏目列表]=== 
     541{{{ 
     542备注:用车栏目列表 
    478543 请求URL: 
    479544 HTTP请求方式:get 
     
    483548 缓存时间: 
    484549 请求参数: 
    485    tid:价格id 
     550   tid:类型id 
    486551返回结果: 
    487552{ 
     
    513578}}} 
    514579 
    515 === 2.7.3 [=#point2073 用车栏目列表]=== 
    516 {{{ 
    517 备注:用车栏目列表 
    518  请求URL: 
    519  HTTP请求方式:get 
    520  是否需要登录:否 
    521  返回格式:json 
    522  缓存方式:无 
    523  缓存时间: 
    524  请求参数: 
    525    tid:类型id 
    526 返回结果: 
    527 { 
    528   "articleList": [ 
    529     { 
    530       "id": "4254001", 
    531       "pubDate": "2014-04-18", 
    532       "title": "What is My Car? 最适合的才最好", 
    533       "url": "http://www.pcauto.com.cn/news/425/4254001.html" 
    534     }, 
    535     { 
    536       "id": "3683314", 
    537       "pubDate": "2013-12-31", 
    538       "title": "戴姆勒Car2Share驾临鹏城 腾讯乐享创新出行", 
    539       "url": "http://www.pcauto.com.cn/news/368/3683314.html" 
    540     } 
    541   ], 
    542   "curPage": 1, 
    543   "perPage": 100, 
    544   "start": 1, 
    545   "statistic": { 
    546     "cluster_channel": [ 
    547       "新闻动态_41" 
    548     ] 
    549   }, 
    550   "time": 0, 
    551   "total": 41 
    552 } 
    553 }}} 
    554  
    555580=== 2.7.4 [=#point2074 新车栏目列表]=== 
    556581{{{