Changes between Version 30 and Version 31 of pcauto_BuyAuto_1.3.0


Ignore:
Timestamp:
06/04/2015 02:35:15 PM (11 years ago)
Author:
wuxiaoling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_BuyAuto_1.3.0

    v30 v31  
    243243            ], 
    244244            "status": 0, 
    245             "unlimited": false, 
    246245            "validTime": { 
    247246                “start”: ”2015-05-30”, 
     
    269268||price||车系价格 
    270269||status||投票状态,0:进行中,1:关闭,2:结束 
    271 ||unlimited||投票时间是否无限刷,true表示无限制,此时忽略validTime字段 
    272270||validTime||有效时间,json对象 
    273271||start||开始时间,字符串 
     
    458456400- 请求参数有误[[BR]] 
    459457500 - 系统错误[[BR]] 
     458 
     459==8.车系综述 == 
     460 
     461[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.3/serial.xsp?v=1.1.0&areaId=3&isSubscribed=0&serialId=4313&modelIds=}}} 
     462 
     463[[BR]]现应用接口: 
     464{{{      
     465http://price.pcauto.com.cn/interface/iphone/atom/price/serial_group_basic_json.jsp?serialGroupId=4313  //车系概述基本数据 
     466http://price.pcauto.com.cn/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313     //车系概述最低价接口 
     467http://price.pcauto.com.cn/interface/iphone/serial_group_compete.jsp?serialGroupId=4313&size=3          //车系对比 
     468http://mall.pcauto.com.cn/autoMall/interface/auto_mall_gct_list_by_sg_json.jsp?regionId=3&serialId=4313  //判断是否有团购 
     469http://price.pcauto.com.cn/interface/iphone/atom/dealer/model_list_news_price_json.jsp?serialGroupId4313&rId=3    //车系概述列表接口 
     470http://price.pcauto.com.cn/interface/iphone/get_lower_modelPrice.jsp?rid=3&sid=4313)             //获取本地最低价 
     471http://price.pcauto.com.cn/interface/cms/region_400_json.jsp?rid=3)             //获取400电话 
     472}}} 
     473[BR]原mrobot接口:{{{http://mrobot.pcauto.com.cn/buy/price/serial/4313?v=1.1.0&areaId=3&isSubscribed=0&modelIds=;}}} 
     474[[BR]]HTTP请求方式:get 
     475[[BR]]是否需要登录:false 
     476[[BR]]返回格式: html 
     477[[BR]]缓存方式: 
     478[[BR]]缓存时间:60 
     479[[BR]]说明: 
     480[[BR]]请求参数:[[BR]] 
     481||参数名||类型||必须||说明|| 
     482||areaId||int||Y||地区ID|| 
     483||serialId||int||Y||车系id|| 
     484||isSubscribed||int||N||是否订阅|| 
     485||modelId||int||N||车型ID|| 
     486页面内数据说明:在返回的页面里添加了注释数据/*@_HTML_META_START_(数据部分)_HTML_META_END_@*/  
     487数据内容为:  
     488{{{#!java 
     489{ 
     490        "kind": "中型车", 
     491        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c1/37285606_37285606_1407725980801_400x300.jpg", 
     492        "priceRange": "27.28~57.81万", 
     493        "cars": [{ 
     494                "title": " 1.8T 涡轮增压 160马力", 
     495                "data": [{ 
     496                        "id": "33318", 
     497                        "title": "2015款 1.8 30TFSI 手动舒适型", 
     498                        "price": "27.28", 
     499                        "config": "6挡手动 前置前驱 ", 
     500                        "state": "在售", 
     501                        "status": "在售", 
     502                        "isNews": "0", 
     503                        "rjBzzw": 5, 
     504                        "introduce": 0, 
     505                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1409/17/c6/38686815_38686815_1410941571968_120x90.jpg", 
     506                        "minPrice": "23.77", 
     507                        "paiLiang": "1.8", 
     508                        "jqx": 950, 
     509                        "glassPercent": 0.0019, 
     510                        "compared": "", 
     511                        "result": { 
     512                                "shoufu": 7.13, 
     513                                "loan": 170000, 
     514                                "monthPay": 0.52, 
     515                                "firstPayTotal": 9.87, 
     516                                "loantotal": 28.7, 
     517                                "total": 26.87 
     518                        } 
     519                 
     520                }] 
     521        }, 
     522        { 
     523                "title": " 2.0T 涡轮增压 224马力", 
     524                "data": [{ 
     525                        "id": "33319", 
     526                        "title": "2015款 2.0 45TFSI quattro个性运动版", 
     527                        "price": "35.3", 
     528                        "config": "7挡双离合 前置四驱 托森式差速", 
     529                        "state": "在售", 
     530                        "status": "在售", 
     531                        "isNews": "0", 
     532                        "rjBzzw": 5, 
     533                        "introduce": 0, 
     534                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/22/c6/39977239_39977239_1413950602832_120x90.jpg", 
     535                        "minPrice": "31.42", 
     536                        "paiLiang": "2.0", 
     537                        "jqx": 950, 
     538                        "glassPercent": 0.0019, 
     539                        "compared": "", 
     540                        "result": { 
     541                                "shoufu": 9.43, 
     542                                "loan": 220000, 
     543                                "monthPay": 0.68, 
     544                                "firstPayTotal": 13.41, 
     545                                "loantotal": 37.77, 
     546                                "total": 35.41 
     547                        } 
     548                } 
     549                ] 
     550        }] 
     551} 
     552}}} 
     553 
     554{{{#!java 
     555 协议说明: 
     556 订阅: pcautobuy://addSubscribed/?serialId={{serialId}}&serialName={{serialName}}    取消订阅:pcautobuy://deleteSubscribed/?serialId={{serialId}}&serialName={{serialGroupName}} 
     557 对比:pcaction://compare/?modelId={{id}}&modelName={{title}}&image={{photo}}  取消对比:pcaction://decompare/?modelId={{id}}&modelName={{title}}&image={{photo}} 
     558 去团购:pcautobuy://model-activity-detail/?activityId={{activityId}}&areaId={{areaId}} 求组团:pcautobuy://serial-activity-initiate/?serialId={{serialId}}&serialName={{serialGroupName}} 
     559 询底价:pcautobuy://auto-ask-price/?areaId={{areaId}}&dealerId=0&serialId={{serialId}}&modelId={{modelId}}&modelName={{modelName}}&image={{image}}&isMain=1 
     560 去购车计算:pcautobuy://auto-calculator/{{id}}?modelName={{title}}&price={{minPrice}}&paiLiang={{paiLiang}}&rjBzzw={{rjBzzw}}&introduce={{introduce}} 
     561 400电话咨询:pcaction://webview_tel/{{phone}}?name={{name}} 
     562 我要优惠:pcautobuy://auto-get-promotion/?areaId={{param.areaId}}&dealerId={{dealerId}}&serialId={{../serialId}}&modelId={{../id}}&modelName={{../title}}&image={{../photo}}&isMain=1 
     563 点击车型跳转:pcautobuy://model/?modelId={{id}}&modelName={{title}}&areaId={{areaId}} 
     564}}}