Changes between Version 25 and Version 26 of pcauto_BuyAuto_1.2.0


Ignore:
Timestamp:
02/09/2015 06:31:34 PM (11 years ago)
Author:
lanzhenhua
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_BuyAuto_1.2.0

    v25 v26  
    2727== 2.接口列表 == 
    2828 
    29 === 2.1 [=#point2.1 车系参配] === 
    30  
    31 [[BR]]mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/serialDetail.xsp?serialId=4313&subscributedIds=30499,36337 
    32 [[BR]]现应用接口: 
    33 {{{ 
    34 http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313 车系概览页车型列表接口 
    35 http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 
    36 http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 
    37 http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 
    38 }}} 
    39 [[BR]]原接口: 
    40 {{{ 
    41 http://price.pcauto.com.cn/interface/iphone/model_list_v3.jsp?serialId=4313 
    42 }}} 
    43 [[BR]]HTTP请求方式:get 
    44 [[BR]]是否需要登录:false 
    45 [[BR]]返回格式:html 
    46 [[BR]]缓存方式: 
    47 [[BR]]缓存时间:60 
    48 [[BR]]说明: 
    49 [[BR]]请求参数:[[BR]] 
    50 ||参数名||类型||必须||说明|| 
    51 ||serialId||String||Y||车系ID|| 
    52 ||subscributedIds||String||N||已订阅的车型id|| 
    53 [[BR]]返回结果: 
    54 { 
    55     "detailArray": [ 
    56         { 
    57             "detail": [ 
    58                 { 
    59                     "groupDetail": [ 
    60                         "全国4S店", 
    61                         "2368笔" 
    62                     ], 
    63                     "groupName": "询价订单" 
    64                 }, 
    65                 { 
    66                     "groupDetail": [ 
    67                         "前制动器类型", 
    68                         "通风盘式", 
    69                         "后制动器类型", 
    70                         "通风盘式", 
    71                         "驻车制动类型", 
    72                         "电子驻车", 
    73                         "前轮胎规格", 
    74                         "245/45 R18 ", 
    75                         "后轮胎规格", 
    76                         "245/45 R18 ", 
    77                         "备胎规格", 
    78                         "非全尺寸" 
    79                     ], 
    80                     "groupName": "车轮制动" 
    81                  
    82                 }... 
    83                 } 
    84                  
    85     ], 
    86     "groupNameArray": [ 
    87         "询价订单", 
    88         "价格", 
    89         "基本参数", 
    90         "车身", 
    91         "发动机", 
    92         "电动机", 
    93        ..... 
    94     ] 
    95 } 
    96  
    97 === 2.2 [=#point2.2 车型参配] === 
     29=======================================================功能优化============================================== 
     30 
     31=== 2.1 [=#point2.1 车型参配] === 
    9832 
    9933[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/buy/price/modelDetail/{modelId}?areaId=1&fmt=json}}} 
     
    172106} 
    173107 
    174 === 2.3 [=#point2.3 车型对比] === 
    175  
    176 [[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/detailCompare.xsp?modelIds=34224,30502,30501,30500,30499&subscributedIds=30503,30499,30500}}} 
    177 [[BR]]现应用接口: 
    178 {{{ 
    179 http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 
    180 http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 
    181 http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 
    182 }}} 
    183  
    184 [[BR]]原接口: 
    185 {{{ 
    186 http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=34224 
    187 }}} 
    188 [[BR]]HTTP请求方式:get 
    189 [[BR]]是否需要登录:false 
    190 [[BR]]返回格式:html 
    191 [[BR]]缓存方式: 
    192 [[BR]]缓存时间:60 
    193 [[BR]]说明: 
    194 [[BR]]请求参数:[[BR]] 
    195 ||参数名||类型||必须||说明|| 
    196 ||modelIds||String||Y||车型ID|| 
    197 ||subscributedIds||String||N||已订阅的车型id|| 
    198 [[BR]]返回结果: 
    199 [[BR]]{ 
    200 detailArray: [ 
    201 { 
    202   detail: [ 
    203     { 
    204       groupDetail: [ 
    205       "全国4S店", 
    206       "3473笔" 
    207       ], 
    208       groupName: "询价订单" 
    209     }, 
    210     ...... 
    211     isSubscributed: false, 
    212     metaUrl: "http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=30503", 
    213     modelId: "30503", 
    214     modelName: "奥迪A6L 2014款 30 FSI 舒适型 ", 
    215     shortName: "30 FSI 舒适型" 
    216     }, 
    217 ...... 
    218 } 
    219 ] 
    220  
    221  
    222  
    223  
    224  
    225 === 2.4 [=#point2.4 我要优惠] === 
     108 
     109=== 2.2[=#point2.2我要优惠] === 
    226110 
    227111[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/getPromotion.xsp?v=1.1.0&modelId=20062&modelName=奥迪&serialId=4313&areaId=1&dealerId=65469&name=tt&tel=13588888888&appKey=34ca62060a1474350000052f&chId=app_store&devId=cb2039424107a8f6d3847fd390d81e60ba7ab516&referer=sg_discount}}} 
     
    252136||v||String||N||版本号|| 
    253137 
    254 === 2.5 [=#point2.5 优惠详情] === 
     138=== 2.3[=#point2.3 优惠详情] === 
    255139 
    256140[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/promotionDetail.xsp?marketId=7033340&modelId=33314&areaId=1}}} 
     
    273157||areaId||int||Y||地区ID|| 
    274158 
    275 === 2.6 [=#point2.6 车型列表] === 
     159=== 2.4 [=#point2.4 车型列表] === 
    276160 
    277161[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/buy/price/getModelListBySerialId_v4_v12/{serialGroupId}?pageNo=1&pageSize=20&areaId=1}}} 
     
    331215    "structure": "SUV" 
    332216} 
     217 
     218 
     219==================================================性能优化===================================================== 
     220 
     221=== 2.5 [=#point2.1 车系参配] === 
     222 
     223[[BR]]mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/serialDetail.xsp?serialId=4313&subscributedIds=30499,36337 
     224[[BR]]现应用接口: 
     225{{{ 
     226http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313 车系概览页车型列表接口 
     227http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 
     228http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 
     229http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 
     230}}} 
     231[[BR]]原接口: 
     232{{{ 
     233http://price.pcauto.com.cn/interface/iphone/model_list_v3.jsp?serialId=4313 
     234}}} 
     235[[BR]]HTTP请求方式:get 
     236[[BR]]是否需要登录:false 
     237[[BR]]返回格式:html 
     238[[BR]]缓存方式: 
     239[[BR]]缓存时间:60 
     240[[BR]]说明: 
     241[[BR]]请求参数:[[BR]] 
     242||参数名||类型||必须||说明|| 
     243||serialId||String||Y||车系ID|| 
     244||subscributedIds||String||N||已订阅的车型id|| 
     245[[BR]]返回结果: 
     246{ 
     247    "detailArray": [ 
     248        { 
     249            "detail": [ 
     250                { 
     251                    "groupDetail": [ 
     252                        "全国4S店", 
     253                        "2368笔" 
     254                    ], 
     255                    "groupName": "询价订单" 
     256                }, 
     257                { 
     258                    "groupDetail": [ 
     259                        "前制动器类型", 
     260                        "通风盘式", 
     261                        "后制动器类型", 
     262                        "通风盘式", 
     263                        "驻车制动类型", 
     264                        "电子驻车", 
     265                        "前轮胎规格", 
     266                        "245/45 R18 ", 
     267                        "后轮胎规格", 
     268                        "245/45 R18 ", 
     269                        "备胎规格", 
     270                        "非全尺寸" 
     271                    ], 
     272                    "groupName": "车轮制动" 
     273                 
     274                }... 
     275                } 
     276                 
     277    ], 
     278    "groupNameArray": [ 
     279        "询价订单", 
     280        "价格", 
     281        "基本参数", 
     282        "车身", 
     283        "发动机", 
     284        "电动机", 
     285       ..... 
     286    ] 
     287} 
     288 
     289 
     290=== 2.6 [=#point2.6 车型对比] === 
     291 
     292[[BR]]mrobot请求url:{{{http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/detailCompare.xsp?modelIds=34224,30502,30501,30500,30499&subscributedIds=30503,30499,30500}}} 
     293[[BR]]现应用接口: 
     294{{{ 
     295http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 
     296http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 
     297http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 
     298}}} 
     299 
     300[[BR]]原接口: 
     301{{{ 
     302http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=34224 
     303}}} 
     304[[BR]]HTTP请求方式:get 
     305[[BR]]是否需要登录:false 
     306[[BR]]返回格式:html 
     307[[BR]]缓存方式: 
     308[[BR]]缓存时间:60 
     309[[BR]]说明: 
     310[[BR]]请求参数:[[BR]] 
     311||参数名||类型||必须||说明|| 
     312||modelIds||String||Y||车型ID|| 
     313||subscributedIds||String||N||已订阅的车型id|| 
     314[[BR]]返回结果: 
     315[[BR]]{ 
     316detailArray: [ 
     317{ 
     318  detail: [ 
     319    { 
     320      groupDetail: [ 
     321      "全国4S店", 
     322      "3473笔" 
     323      ], 
     324      groupName: "询价订单" 
     325    }, 
     326    ...... 
     327    isSubscributed: false, 
     328    metaUrl: "http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=30503", 
     329    modelId: "30503", 
     330    modelName: "奥迪A6L 2014款 30 FSI 舒适型 ", 
     331    shortName: "30 FSI 舒适型" 
     332    }, 
     333...... 
     334} 
     335] 
     336 
     337 
     338 
    333339 
    334340