Changes between Version 23 and Version 24 of interface/pcauto_BuyAuto_1.5.0


Ignore:
Timestamp:
01/05/2016 11:29:10 AM (10 years ago)
Author:
wuxiaoling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • interface/pcauto_BuyAuto_1.5.0

    v23 v24  
    299299 
    300300=== 1.8销量排行榜 === 
    301 原接口:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/hotSellSerials.xsp?year=2015&month=1&type=73   
    302  
    303 **请求参数**=(首次请求不需要添加参数) 
    304 ||= 年份 =||= 月份 =||= 经销商 =||= 区域 =|| 
     301** (mrobot开发已完成,请连开发机进行测试) ** 
     302 
     303>mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/hotSellSerials.xsp?year=2015&month=1&type=73  [[BR]] 
     304应用后端url:http://price.pcauto.com.cn/top/sales/s2-t73.html  (获取销量排行榜)  [[BR]] 
     305http://price.pcauto.com.cn/interface/iphone/get_lower_modelPrice.jsp?vs=1.3&rid=1&sid=车系ID 取本地最低价数据接口 [[BR]] 
     306              
     307**说明** 
     308 
     309>  
     310 
     311**缓存时间** 
     312 
     313>0 
     314 
     315**提交方式** 
     316 
     317> GET 
     318 
     319**是否登录** 
     320 
     321> 登录与未登录都可请求 
     322 
     323**数据来源** 
     324 
     325>论坛 
     326 
     327**参数** 
     328||= 参数名 =||= 参数含义 =||类型||是否必须|| 默认值|| 
     329||type||类别||int||是||73:紧凑车型,1:SUV,72:中型车,110:小型车,76:微型车,71:中大型车,74:MPV|| 
     330||pageNo||第几页||int||是||1|| 
     331||pageSize||显示条数||int||是||20|| 
     332||areaId||区域||int||是||1|| 
     333||year||年份||int||否||无|| 
     334||month||月份||int||否||无|| 
     335 
     336**返回** 
     337{{{ 
     338  year参数需与month同步存在与否。 
     339{ 
     340    "title": "SUV", 
     341    "serials": [ 
     342        { 
     343            "total": 10229, //销售数量,最近一个月有数据 
     344             "allTotal":108956,//从一月起,销售总数 
     345            "smallPhoto": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326_400x300.jpg",//小图 
     346            "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326.jpg",//大图 
     347            "brandId": 949,//品牌id 
     348            "brandName": "东风风行",//品牌名称  
     349            "price": "2.3",//本地最低 
     350            "photo_350x260": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1305/23/c7/21219427_1369289985326_350x260.jpg",//与原接口的photo字段尺寸一致 
     351            "serialGroupId": 7682,//车系id 
     352            "serialGroupName": "景逸SUV" //车系名称 
     353        } 
     354} 
     355}}} 
     356 
    305357 
    306358=== 2.1优惠全部 ===