Changes between Version 38 and Version 39 of pcauto_BuyAuto_1.1.0


Ignore:
Timestamp:
11/28/2014 02:40:06 PM (11 years ago)
Author:
oujianqiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_BuyAuto_1.1.0

    v38 v39  
    276276||referer||string||否||来源url,详见附件《汽车报价宝典线索入口来源对应参数表(重要).txt》|| 
    277277||v||string||是||接口版本,固定取值"1.1.0"|| 
     278 
     279 
     280=== 2.5 车系 === 
     281==== 2.5.1.车系-综述 ==== 
     282备注:接口未上线,请连 192.168.22.145:8888 进行测试 
     283[[BR]]说明:此接口是在前版本的基础上新增了请求参数v 
     284请求URL: http://mrobot.pcauto.com.cn/buy/price/serial/{id}?v=1.1.0&areaId={cityid}&isSubscribed={1、0}&modelIds={1,2,3} 
     285HTTP请求方式:get[[BR]] 
     286是否需要登录:否[[BR]] 
     287返回格式:html页面[[BR]] 
     288缓存方式:无[[BR]] 
     289缓存时间:无[[BR]] 
     290请求参数 
     291||参数名||类型||必须||说明|| 
     292||seriesid||string||是||车系id|| 
     293||isSubscribed||string||是||是否已经订阅了车系,取值0、1|| 
     294||modelIds||string||是||本地已经加入对比的车型id列表,逗号隔开|| 
     295||v||string||是||接口版本,固定取值"1.1.0"|| 
     296 
     297补充:在返回的页面里添加了注释数据/*@_HTML_META_START_(数据)_HTML_META_END_@*/   
     298数据内容为: 
     299 
     300{{{ 
     301    "kind": "中大型车", 
     302    "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/28/c2/40229017_40229017_1414462821712_120x90.jpg", 
     303    "priceRange": "38.30~74.26万", 
     304    "cars":[ 
     305        { 
     306            "data": [ 
     307                { 
     308                    "config": "6挡手动 前置前驱 车身稳定控制 天窗", 
     309                    "dealerName": "上海晨安奥迪", 
     310                    "dealerPhone": "400-860-3273", 
     311                    "discount": "8.63", 
     312                    "id": "30499", 
     313                    "is400": 1, 
     314                    "isNews": "0", 
     315                    "minPrice": "29.67", 
     316                    "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1208/21/c7/13077074_13077074_1345530200671_120x90.jpg", 
     317                    "price": "38.3", 
     318                    "state": "在售", 
     319                    "status": "在售", 
     320                    "title": "2014款 2.0 TFSI 手动基本型", 
     321                    "vendorPrice": "31.02~38.30" 
     322                }, 
     323            "title": " 2.0T 涡轮增压 180马力" 
     324        }, 
     325        .... 
     326    ] 
     327}}} 
     328 
     329 
     330==== 2.2.2.车系-优惠 ==== 
     331http://trac.pc.com.cn/iphone/wiki/pcauto_BuyAuto_1.0.0#a2.5优惠