Changes between Version 4 and Version 5 of pcauto_drive_2.4.0/interface


Ignore:
Timestamp:
12/29/2015 10:30:08 AM (10 years ago)
Author:
liguokai
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.4.0/interface

    v4 v5  
    1111== 1.销量排行榜 == 
    1212'''(开发已完成)'''[[BR]] 
    13 >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/info/xueChe/topArticle.xsp  [[BR]] 
    14 cms线上环境:http://www.pcauto.com.cn/client/xcbd/1509/intf7851.js [[BR]] 
    15              http://www.pcauto.com.cn/client/xcbd/1511/intf8071.js [[BR]] 
    16  
     13>mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/hotSellSerials.xsp?year=2015&month=1&type=73  [[BR]] 
     14应用后端url:http://price.pcauto.com.cn/top/sales/s2-t73.html  (获取销量排行榜) [[BR]] 
     15http://price.pcauto.com.cn/interface/iphone/get_lower_modelPrice.jsp?vs=1.3&rid=1&sid=车系ID 取本地最低价数据接口 [[BR]] 
     16              
    1717**说明** 
    1818 
    19 > 科目首页今日推荐接口 
     19>  
    2020 
    2121**缓存时间** 
     
    2929**是否登录** 
    3030 
    31 >  
     31> 登录与未登录都可请求 
    3232 
    3333**数据来源** 
    3434 
    35 >CMS 
     35>论坛 
    3636 
    3737**参数** 
    38  
    39 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
    40 ||= subjectId =||= 科目id =|| int ||=  =||= 是 =||= 科目id(科目一:22486,科目二:22505,科目三:22487,科目四:22515,拿本:22695) =|| 
     38||= 参数名 =||= 参数含义 =||类型||是否必须|| 默认值|| 
     39||type||类别||int||是||73:紧凑车型,1:SUV,72:中型车,110:小型车,76:微型车,71:中大型车,74:MPV|| 
     40||pageNo||第几页||int||是||1|| 
     41||pageSize||显示条数||int||是||20|| 
     42||areaId||区域||int||是||1|| 
    4143 
    4244**返回** 
    43  
    44 {{{#!java 
     45{{{ 
    4546{ 
    46     "status": 0, 
    47     "message": "操作成功", 
    48     "datas": [ 
     47    "title": "SUV", 
     48    "serials": [ 
    4949        { 
    50             "title": "文章", 
    51             "id": "6790726", 
    52             "type": 1, 
    53             "img": "http://img0.pcauto.com.cn/pcauto/1507/14/g_6728785_1436863917510_240x160.jpg", 
    54             "url": "http://m.pcauto.com.cn/x/679/6790726.html" 
    55         }, 
    56     ], 
    57    bannerData: [ 
    58         { 
    59             "title": "教练在线问答回顾", 
    60             "url: "http://bbs.pcauto.com.cn/topic-8771174.html", 
    61             "imagePath": "http://img0.pcauto.com.cn/pcauto/client/xcbd/recommend/1511/00.jpg", 
    62             "type": "2", 
    63             "id": "8771174" 
    64          } 
    65     ] 
     50            "total": 10229, //销售数量,最近一个月有数据 
     51             "allTotal":108956,//从一月起,销售总数 
     52            "smallPhoto": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326_400x300.jpg",//小图 
     53            "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326.jpg",//大图 
     54            "brandId": 949,//品牌id 
     55            "brandName": "东风风行",//品牌名称  
     56            "price": "2.3",//本地最低 
     57            "photo_350x260": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326_350x260.jpg",//与原接口的photo字段尺寸一致 
     58            "serialGroupId": 7682,//车系id 
     59            "serialGroupName": "景逸SUV" //车系名称 
     60        } 
    6661} 
    6762}}} 
    68 **返回参数说明** 
    69 ||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
    70 ||= status =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 
    71 ||= id =||= 文章id,帖子id =||= type =||= 跳转类型:1文章页,2话题详情页,3专题页面,4游戏页面,5每日抽奖,6专家在线 =|| 
    72 ||= tag =||= 只有第一位出,标签 =||= title =||= 标题 =|| 
    7363 
    7464== 2.摇一摇出题 ==