| | 1 | [[TOC]] |
| | 2 | |
| | 3 | =报价1.5.0接口文档 = |
| | 4 | >mrobot代理环境说明: |
| | 5 | 192.168.10.198 端口为 1080 连的是QA测试环境(192.168.74.80)[[BR]] |
| | 6 | 192.168.10.199 端口为 1080 连的是dev40的开发环境(192.168.75.40)[[BR]] |
| | 7 | '''ps:对于mrobot.pcauto.com.cn/x/前缀的接口,mrobot仅作代理,没有任何逻辑处理。''' [[BR]] |
| | 8 | |
| | 9 | ---------- |
| | 10 | === 1.1车系综述页 === |
| | 11 | ** (mrobot开发已完成,请连开发机进行测试) ** |
| | 12 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.7/serial.xsp?v=1.1.0&serialId=4457&areaId=1&isSubscribed=0&modelIds=&inreview=0 |
| | 13 | |
| | 14 | **说明** |
| | 15 | |
| | 16 | > 返回HTML |
| | 17 | |
| | 18 | ---------- |
| | 19 | === 1.2车型综述页 === |
| | 20 | ** (mrobot开发已完成,请连开发机进行测试) ** |
| | 21 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.7/model.xsp?v=1.1.0&modelId=42028&areaId=1&isCompared=0&isSubscribed=0 |
| | 22 | |
| | 23 | **说明** |
| | 24 | |
| | 25 | > 返回HTML |
| | 26 | ---------- |
| | 27 | === 1.3找车页附近经销商接口 === |
| | 28 | ** (mrobot开发已完成,请连开发机进行测试) ** |
| | 29 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.7/localDealers.xsp?&serialId=4457&modelId=1&areaId=1&lng=113.421435&lat=23.181655 |
| | 30 | |
| | 31 | **说明** |
| | 32 | |
| | 33 | > 返回经销商数据 |
| | 34 | |
| | 35 | **缓存时间** |
| | 36 | |
| | 37 | >0 |
| | 38 | |
| | 39 | **提交方式** |
| | 40 | |
| | 41 | > GET |
| | 42 | |
| | 43 | **是否登录** |
| | 44 | |
| | 45 | > 否 |
| | 46 | |
| | 47 | **数据来源** |
| | 48 | |
| | 49 | |
| | 50 | **请求参数**= |
| | 51 | ||参数名||类型||必须||=说明=|| |
| | 52 | ||areaId|| int||是||城市ID|| |
| | 53 | ||serialId||int||否||车系ID|| |
| | 54 | ||modelId||int||否||车型ID|| |
| | 55 | ||lat||float||是||纬度(小数点后6位)|| |
| | 56 | ||lng||float||是||经度(小数点后6位)|| |
| | 57 | **返回** |
| | 58 | {{{#!java |
| | 59 | { |
| | 60 | "status": 0, |
| | 61 | "message": "操作成功", |
| | 62 | "datas": [ |
| | 63 | [ |
| | 64 | { |
| | 65 | "address": "广州市保税区东江大道北461号汽车大厦首层", |
| | 66 | "aq": "4S店", |
| | 67 | "areaId": "29", |
| | 68 | "areaName": "黄埔区", |
| | 69 | "businessBrand": "一汽丰田,丰田(进口)",//主营品牌 |
| | 70 | "city": "广东 广州", |
| | 71 | "dealerMapId": 15119, |
| | 72 | "dealerName": "广州骏佳广保丰田汽车销售服务有限公司", |
| | 73 | "dealerNewsId": 8667236, |
| | 74 | "dealerShortName": "骏佳广保丰田",//名称 |
| | 75 | "dis": 0,//距离 是km单位 |
| | 76 | "disPriceRange": "", |
| | 77 | "discountPrice": "43.6", |
| | 78 | "highPrice": "0.0", |
| | 79 | "id": 15119,//经销商Id |
| | 80 | "is400Phone": 1, |
| | 81 | "isMarketPrice": 1, |
| | 82 | "isShow24Icon": 0, |
| | 83 | "logo": "http://img.pcauto.com.cn/images/auto3/dealer/20126/21/13402499461925640.jpg",//店铺图片 |
| | 84 | "lowerPrice": "0.0", |
| | 85 | "mapX": "113.547815", |
| | 86 | "mapY": "23.081909", |
| | 87 | "modelType": "2", |
| | 88 | "nameListRange": 0, |
| | 89 | "phone": "400-611-6910转195", |
| | 90 | "poc400Phone": "4006116910-195", |
| | 91 | "priceRange": "暂无报价", |
| | 92 | "vip": 2 |
| | 93 | }... |
| | 94 | ]... |
| | 95 | |
| | 96 | ] |
| | 97 | } |
| | 98 | }}} |
| | 99 | |
| | 100 | |
| | 101 | ---------- |
| | 102 | === 2.1我要优惠页 === |
| | 103 | |
| | 104 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/getPromotion.xsp?v=1.1.0&areaId=1&isMain=1&v4activity=1.5¤tPrice=33.36&modelId=42028&disString=%E8%B4%AD%E8%BD%A6%E7%9B%B4%E9%99%8D4.98%E4%B8%87%E5%85%83&image=http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1502/24/c4/3229137_3229137_1424770255400_120x90.jpg&modelName=%E5%A5%A5%E8%BF%AAQ5%202016%E6%AC%BE%2040%20TFSI%20%E8%BF%9B%E5%8F%96%E5%9E%8B&serialId=4457&dealerId=70535&name=&tel=&appKey=4f4277c7a1428d2000000483&chId=app_store&devId=d6c0e0c274a89c4f66c2eb747ea1850e2e0fb016&countDevId=020000000000&referer=discount_detail_top |
| | 105 | |
| | 106 | **说明** |
| | 107 | |
| | 108 | > 返回HTML |
| | 109 | |
| | 110 | **请求参数**= |
| | 111 | ||参数名||类型||必须||=说明=|| |
| | 112 | |
| | 113 | ---------- |
| | 114 | |
| | 115 | |
| | 116 | === 2.2 团购详情页 === |
| | 117 | |
| | 118 | >mrobot地址:http://mrobot.pcauto.com.cn/buy/price/activityDetailv11/8995?areaId=1&modelId=0&serialId=0&name=&tel=&&appKey=4f4277c7a1428d2000000483&chId=app_store&dId=d6c0e0c274a89c4f66c2eb747ea1850e2e0fb016&referer=lookcar_group_detail |
| | 119 | |
| | 120 | **说明** |
| | 121 | |
| | 122 | > 返回HTML |
| | 123 | |
| | 124 | **请求参数**= |
| | 125 | ||参数名||类型||必须||=说明=|| |
| | 126 | |
| | 127 | ---------- |
| | 128 | |
| | 129 | === 2.3 优惠详情页 === |
| | 130 | |
| | 131 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/promotionDetail.xsp?marketId=12264915&areaId=1&modelId=43797&appKey=4f4277c7a1428d2000000483&chId=app_store&devId=0b5210a97641d61058d423f2d8ed7281b7c6cf02&inreview=0 |
| | 132 | |
| | 133 | |
| | 134 | **说明** |
| | 135 | |
| | 136 | > 返回HTML |
| | 137 | |
| | 138 | **请求参数**= |
| | 139 | ||参数名||类型||必须||=说明=|| |
| | 140 | |
| | 141 | ---------- |
| | 142 | |
| | 143 | === 2.4 报价详情页 === |
| | 144 | |
| | 145 | >mrobot地址:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.4/promotionDetail.xsp?marketId=12264915&areaId=1&modelId=43797&appKey=4f4277c7a1428d2000000483&chId=app_store&devId=0b5210a97641d61058d423f2d8ed7281b7c6cf02&inreview=0 |
| | 146 | |
| | 147 | |
| | 148 | **说明** |
| | 149 | |
| | 150 | > 返回HTML |
| | 151 | |
| | 152 | **请求参数**= |
| | 153 | ||参数名||类型||必须||=说明=|| |
| | 154 | |
| | 155 | ---------- |