| 218 | | |
| 219 | | |
| 220 | | ==================================================性能优化===================================================== |
| 221 | | |
| 222 | | === 3.1 [=#point3.1 车系参配] === |
| 223 | | |
| 224 | | [[BR]]mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/serialDetail.xsp?serialId=4313&subscributedIds=30499,36337 |
| 225 | | [[BR]]现应用接口: |
| 226 | | {{{ |
| 227 | | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313 车系概览页车型列表接口 |
| 228 | | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 |
| 229 | | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 |
| 230 | | http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 |
| 231 | | }}} |
| 232 | | [[BR]]原接口: |
| 233 | | {{{ |
| 234 | | http://price.pcauto.com.cn/interface/iphone/model_list_v3.jsp?serialId=4313 |
| 235 | | }}} |
| 236 | | [[BR]]HTTP请求方式:get |
| 237 | | [[BR]]是否需要登录:false |
| 238 | | [[BR]]返回格式:html |
| 239 | | [[BR]]缓存方式: |
| 240 | | [[BR]]缓存时间:60 |
| 241 | | [[BR]]说明: |
| 242 | | [[BR]]请求参数:[[BR]] |
| 243 | | ||参数名||类型||必须||说明|| |
| 244 | | ||serialId||String||Y||车系ID|| |
| 245 | | ||subscributedIds||String||N||已订阅的车型id|| |
| 246 | | [[BR]]返回结果: |
| 247 | | { |
| 248 | | "detailArray": [ |
| 249 | | { |
| 250 | | "detail": [ |
| 251 | | { |
| 252 | | "groupDetail": [ |
| 253 | | "全国4S店", |
| 254 | | "2368笔" |
| 255 | | ], |
| 256 | | "groupName": "询价订单" |
| 257 | | }, |
| 258 | | { |
| 259 | | "groupDetail": [ |
| 260 | | "前制动器类型", |
| 261 | | "通风盘式", |
| 262 | | "后制动器类型", |
| 263 | | "通风盘式", |
| 264 | | "驻车制动类型", |
| 265 | | "电子驻车", |
| 266 | | "前轮胎规格", |
| 267 | | "245/45 R18 ", |
| 268 | | "后轮胎规格", |
| 269 | | "245/45 R18 ", |
| 270 | | "备胎规格", |
| 271 | | "非全尺寸" |
| 272 | | ], |
| 273 | | "groupName": "车轮制动" |
| 274 | | |
| 275 | | }... |
| 276 | | } |
| 277 | | |
| 278 | | ], |
| 279 | | "groupNameArray": [ |
| 280 | | "询价订单", |
| 281 | | "价格", |
| 282 | | "基本参数", |
| 283 | | "车身", |
| 284 | | "发动机", |
| 285 | | "电动机", |
| 286 | | ..... |
| 287 | | ] |
| 288 | | } |
| 289 | | |
| 290 | | |
| 291 | | === 3.2 [=#point3.2 车型对比] === |
| 292 | | |
| 293 | | [[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}}} |
| 294 | | [[BR]]现应用接口: |
| 295 | | {{{ |
| 296 | | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 |
| 297 | | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 |
| 298 | | http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 |
| 299 | | }}} |
| 300 | | |
| 301 | | [[BR]]原接口: |
| 302 | | {{{ |
| 303 | | http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=34224 |
| 304 | | }}} |
| 305 | | [[BR]]HTTP请求方式:get |
| 306 | | [[BR]]是否需要登录:false |
| 307 | | [[BR]]返回格式:html |
| 308 | | [[BR]]缓存方式: |
| 309 | | [[BR]]缓存时间:60 |
| 310 | | [[BR]]说明: |
| 311 | | [[BR]]请求参数:[[BR]] |
| 312 | | ||参数名||类型||必须||说明|| |
| 313 | | ||modelIds||String||Y||车型ID|| |
| 314 | | ||subscributedIds||String||N||已订阅的车型id|| |
| 315 | | [[BR]]返回结果: |
| 316 | | [[BR]]{ |
| 317 | | detailArray: [ |
| 318 | | { |
| 319 | | detail: [ |
| 320 | | { |
| 321 | | groupDetail: [ |
| 322 | | "全国4S店", |
| 323 | | "3473笔" |
| 324 | | ], |
| 325 | | groupName: "询价订单" |
| 326 | | }, |
| 327 | | ...... |
| 328 | | isSubscributed: false, |
| 329 | | metaUrl: "http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=30503", |
| 330 | | modelId: "30503", |
| 331 | | modelName: "奥迪A6L 2014款 30 FSI 舒适型 ", |
| 332 | | shortName: "30 FSI 舒适型" |
| 333 | | }, |
| 334 | | ...... |
| 335 | | } |
| 336 | | ] |
| 337 | | |
| 338 | | |
| 339 | | |
| 340 | | |
| 341 | | |
| 342 | | === 3.3 [=#point3.3 优惠列表] === |
| | 218 | === 2.5 [=#point2.5 优惠列表] === |
| 419 | | === 3.4 [=#point3.4 车型综述] === |
| | 295 | |
| | 296 | |
| | 297 | ==================================================性能优化===================================================== |
| | 298 | |
| | 299 | === 3.1 [=#point3.1 车系参配] === |
| | 300 | |
| | 301 | [[BR]]mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/v1.2/serialDetail.xsp?serialId=4313&subscributedIds=30499,36337 |
| | 302 | [[BR]]现应用接口: |
| | 303 | {{{ |
| | 304 | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313 车系概览页车型列表接口 |
| | 305 | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 |
| | 306 | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 |
| | 307 | http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 |
| | 308 | }}} |
| | 309 | [[BR]]原接口: |
| | 310 | {{{ |
| | 311 | http://price.pcauto.com.cn/interface/iphone/model_list_v3.jsp?serialId=4313 |
| | 312 | }}} |
| | 313 | [[BR]]HTTP请求方式:get |
| | 314 | [[BR]]是否需要登录:false |
| | 315 | [[BR]]返回格式:html |
| | 316 | [[BR]]缓存方式: |
| | 317 | [[BR]]缓存时间:60 |
| | 318 | [[BR]]说明: |
| | 319 | [[BR]]请求参数:[[BR]] |
| | 320 | ||参数名||类型||必须||说明|| |
| | 321 | ||serialId||String||Y||车系ID|| |
| | 322 | ||subscributedIds||String||N||已订阅的车型id|| |
| | 323 | [[BR]]返回结果: |
| | 324 | { |
| | 325 | "detailArray": [ |
| | 326 | { |
| | 327 | "detail": [ |
| | 328 | { |
| | 329 | "groupDetail": [ |
| | 330 | "全国4S店", |
| | 331 | "2368笔" |
| | 332 | ], |
| | 333 | "groupName": "询价订单" |
| | 334 | }, |
| | 335 | { |
| | 336 | "groupDetail": [ |
| | 337 | "前制动器类型", |
| | 338 | "通风盘式", |
| | 339 | "后制动器类型", |
| | 340 | "通风盘式", |
| | 341 | "驻车制动类型", |
| | 342 | "电子驻车", |
| | 343 | "前轮胎规格", |
| | 344 | "245/45 R18 ", |
| | 345 | "后轮胎规格", |
| | 346 | "245/45 R18 ", |
| | 347 | "备胎规格", |
| | 348 | "非全尺寸" |
| | 349 | ], |
| | 350 | "groupName": "车轮制动" |
| | 351 | |
| | 352 | }... |
| | 353 | } |
| | 354 | |
| | 355 | ], |
| | 356 | "groupNameArray": [ |
| | 357 | "询价订单", |
| | 358 | "价格", |
| | 359 | "基本参数", |
| | 360 | "车身", |
| | 361 | "发动机", |
| | 362 | "电动机", |
| | 363 | ..... |
| | 364 | ] |
| | 365 | } |
| | 366 | |
| | 367 | |
| | 368 | === 3.2 [=#point3.2 车型对比] === |
| | 369 | |
| | 370 | [[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}}} |
| | 371 | [[BR]]现应用接口: |
| | 372 | {{{ |
| | 373 | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_overview.jsp?mid=30499 车型概览接口 |
| | 374 | http://dev3.pcauto.com.cn:8001/interface/iphone/atom/price/model_params.jsp?mid=30499 车型参数接口 |
| | 375 | http://dev3.pcauto.com.cn:8001/dealer/interface/order/order_info.jsp?m=getMCountBySG&sgId=4313 订单数 |
| | 376 | }}} |
| | 377 | |
| | 378 | [[BR]]原接口: |
| | 379 | {{{ |
| | 380 | http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=34224 |
| | 381 | }}} |
| | 382 | [[BR]]HTTP请求方式:get |
| | 383 | [[BR]]是否需要登录:false |
| | 384 | [[BR]]返回格式:html |
| | 385 | [[BR]]缓存方式: |
| | 386 | [[BR]]缓存时间:60 |
| | 387 | [[BR]]说明: |
| | 388 | [[BR]]请求参数:[[BR]] |
| | 389 | ||参数名||类型||必须||说明|| |
| | 390 | ||modelIds||String||Y||车型ID|| |
| | 391 | ||subscributedIds||String||N||已订阅的车型id|| |
| | 392 | [[BR]]返回结果: |
| | 393 | [[BR]]{ |
| | 394 | detailArray: [ |
| | 395 | { |
| | 396 | detail: [ |
| | 397 | { |
| | 398 | groupDetail: [ |
| | 399 | "全国4S店", |
| | 400 | "3473笔" |
| | 401 | ], |
| | 402 | groupName: "询价订单" |
| | 403 | }, |
| | 404 | ...... |
| | 405 | isSubscributed: false, |
| | 406 | metaUrl: "http://price.pcauto.com.cn/interface/iphone/model_detail.jsp?mid=30503", |
| | 407 | modelId: "30503", |
| | 408 | modelName: "奥迪A6L 2014款 30 FSI 舒适型 ", |
| | 409 | shortName: "30 FSI 舒适型" |
| | 410 | }, |
| | 411 | ...... |
| | 412 | } |
| | 413 | ] |
| | 414 | |
| | 415 | |
| | 416 | |
| | 417 | |
| | 418 | === 3.3 [=#point3.3 车型综述] === |
| 476 | | |
| 477 | | |
| | 475 | 页面内数据说明:在返回的页面里添加了注释数据/*@_HTML_META_START_(数据部分)_HTML_META_END_@*/ |
| | 476 | 数据内容为: |
| | 477 | |
| | 478 | { |
| | 479 | "kind": "中型车", |
| | 480 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c1/37285606_37285606_1407725980801_400x300.jpg", |
| | 481 | "priceRange": "27.28~57.81万", |
| | 482 | "cars": [{ |
| | 483 | "title": " 1.8T 涡轮增压 160马力", |
| | 484 | "data": [{ |
| | 485 | "id": "33318", |
| | 486 | "title": "2015款 1.8 30TFSI 手动舒适型", |
| | 487 | "price": "27.28", |
| | 488 | "config": "6挡手动 前置前驱 ", |
| | 489 | "state": "在售", |
| | 490 | "status": "在售", |
| | 491 | "isNews": "0", |
| | 492 | "rjBzzw": 5, |
| | 493 | "introduce": 0, |
| | 494 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1409/17/c6/38686815_38686815_1410941571968_120x90.jpg", |
| | 495 | "minPrice": "23.77", |
| | 496 | "paiLiang": "1.8", |
| | 497 | "jqx": 950, |
| | 498 | "glassPercent": 0.0019, |
| | 499 | "compared": "", |
| | 500 | "result": { |
| | 501 | "shoufu": 7.13, |
| | 502 | "loan": 170000, |
| | 503 | "monthPay": 0.52, |
| | 504 | "firstPayTotal": 9.87, |
| | 505 | "loantotal": 28.7, |
| | 506 | "total": 26.87 |
| | 507 | } |
| | 508 | }, |
| | 509 | { |
| | 510 | "id": "33320", |
| | 511 | "title": "2015款 1.8 30TFSI 自动舒适型", |
| | 512 | "price": "29.1", |
| | 513 | "config": "CVT无级变速(模拟8挡) 前置前驱 ", |
| | 514 | "state": "在售", |
| | 515 | "status": "在售", |
| | 516 | "isNews": "0", |
| | 517 | "rjBzzw": 5, |
| | 518 | "introduce": 0, |
| | 519 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/03/c3/35925221_35925221_1404357427634_120x90.jpg", |
| | 520 | "minPrice": "25.6", |
| | 521 | "paiLiang": "1.8", |
| | 522 | "jqx": 950, |
| | 523 | "glassPercent": 0.0019, |
| | 524 | "compared": "", |
| | 525 | "result": { |
| | 526 | "shoufu": 7.68, |
| | 527 | "loan": 180000, |
| | 528 | "monthPay": 0.55, |
| | 529 | "firstPayTotal": 10.9, |
| | 530 | "loantotal": 30.84, |
| | 531 | "total": 28.9 |
| | 532 | } |
| | 533 | }] |
| | 534 | }, |
| | 535 | { |
| | 536 | "title": " 2.0T 涡轮增压 179马力", |
| | 537 | "data": [{ |
| | 538 | "id": "33313", |
| | 539 | "title": "2015款 2.0 35TFSI 自动标准型", |
| | 540 | "price": "31.28", |
| | 541 | "config": "CVT无级变速(模拟8挡) 前置前驱 ", |
| | 542 | "state": "在售", |
| | 543 | "status": "在售", |
| | 544 | "isNews": "0", |
| | 545 | "rjBzzw": 5, |
| | 546 | "introduce": 0, |
| | 547 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", |
| | 548 | "minPrice": "27.84", |
| | 549 | "paiLiang": "2.0", |
| | 550 | "jqx": 950, |
| | 551 | "glassPercent": 0.0019, |
| | 552 | "compared": "", |
| | 553 | "result": { |
| | 554 | "shoufu": 8.35, |
| | 555 | "loan": 190000, |
| | 556 | "monthPay": 0.58, |
| | 557 | "firstPayTotal": 12.4, |
| | 558 | "loantotal": 33.44, |
| | 559 | "total": 31.4 |
| | 560 | } |
| | 561 | }, |
| | 562 | { |
| | 563 | "id": "33314", |
| | 564 | "title": "2015款 2.0 35TFSI 自动舒适型", |
| | 565 | "price": "33.29", |
| | 566 | "config": "CVT无级变速(模拟8挡) 前置前驱 ", |
| | 567 | "state": "在售", |
| | 568 | "status": "在售", |
| | 569 | "isNews": "0", |
| | 570 | "rjBzzw": 5, |
| | 571 | "introduce": 0, |
| | 572 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c1/37285606_37285606_1407725980801_120x90.jpg", |
| | 573 | "minPrice": "29.13", |
| | 574 | "paiLiang": "2.0", |
| | 575 | "jqx": 950, |
| | 576 | "glassPercent": 0.0019, |
| | 577 | "compared": "", |
| | 578 | "result": { |
| | 579 | "shoufu": 8.74, |
| | 580 | "loan": 200000, |
| | 581 | "monthPay": 0.62, |
| | 582 | "firstPayTotal": 12.83, |
| | 583 | "loantotal": 34.98, |
| | 584 | "total": 32.83 |
| | 585 | } |
| | 586 | }, |
| | 587 | { |
| | 588 | "id": "33315", |
| | 589 | "title": "2015款 2.0 35TFSI 自动技术型", |
| | 590 | "price": "37.28", |
| | 591 | "config": "CVT无级变速(模拟8挡) 前置前驱 ", |
| | 592 | "state": "在售", |
| | 593 | "status": "在售", |
| | 594 | "isNews": "0", |
| | 595 | "rjBzzw": 5, |
| | 596 | "introduce": 0, |
| | 597 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c6/37300232_37300232_1407743541947_120x90.jpg", |
| | 598 | "minPrice": "33.17", |
| | 599 | "paiLiang": "2.0", |
| | 600 | "jqx": 950, |
| | 601 | "glassPercent": 0.0019, |
| | 602 | "compared": "", |
| | 603 | "result": { |
| | 604 | "shoufu": 9.95, |
| | 605 | "loan": 230000, |
| | 606 | "monthPay": 0.71, |
| | 607 | "firstPayTotal": 14.36, |
| | 608 | "loantotal": 39.83, |
| | 609 | "total": 37.36 |
| | 610 | } |
| | 611 | }, |
| | 612 | { |
| | 613 | "id": "33316", |
| | 614 | "title": "2015款 2.0 35TFSI 自动豪华型", |
| | 615 | "price": "40.2", |
| | 616 | "config": "CVT无级变速(模拟8挡) 前置前驱 ", |
| | 617 | "state": "在售", |
| | 618 | "status": "在售", |
| | 619 | "isNews": "0", |
| | 620 | "rjBzzw": 5, |
| | 621 | "introduce": 0, |
| | 622 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", |
| | 623 | "minPrice": "35.78", |
| | 624 | "paiLiang": "2.0", |
| | 625 | "jqx": 950, |
| | 626 | "glassPercent": 0.0019, |
| | 627 | "compared": "", |
| | 628 | "result": { |
| | 629 | "shoufu": 10.73, |
| | 630 | "loan": 250000, |
| | 631 | "monthPay": 0.77, |
| | 632 | "firstPayTotal": 15.26, |
| | 633 | "loantotal": 42.95, |
| | 634 | "total": 40.26 |
| | 635 | } |
| | 636 | }] |
| | 637 | }, |
| | 638 | { |
| | 639 | "title": " 2.0T 涡轮增压 224马力", |
| | 640 | "data": [{ |
| | 641 | "id": "33319", |
| | 642 | "title": "2015款 2.0 45TFSI quattro个性运动版", |
| | 643 | "price": "35.3", |
| | 644 | "config": "7挡双离合 前置四驱 托森式差速", |
| | 645 | "state": "在售", |
| | 646 | "status": "在售", |
| | 647 | "isNews": "0", |
| | 648 | "rjBzzw": 5, |
| | 649 | "introduce": 0, |
| | 650 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/22/c6/39977239_39977239_1413950602832_120x90.jpg", |
| | 651 | "minPrice": "31.42", |
| | 652 | "paiLiang": "2.0", |
| | 653 | "jqx": 950, |
| | 654 | "glassPercent": 0.0019, |
| | 655 | "compared": "", |
| | 656 | "result": { |
| | 657 | "shoufu": 9.43, |
| | 658 | "loan": 220000, |
| | 659 | "monthPay": 0.68, |
| | 660 | "firstPayTotal": 13.41, |
| | 661 | "loantotal": 37.77, |
| | 662 | "total": 35.41 |
| | 663 | } |
| | 664 | }, |
| | 665 | { |
| | 666 | "id": "33317", |
| | 667 | "title": "2015款 2.0 45 TFSI quattro运动型", |
| | 668 | "price": "47.36", |
| | 669 | "config": "7挡双离合 前置四驱 托森式差速", |
| | 670 | "state": "在售", |
| | 671 | "status": "在售", |
| | 672 | "isNews": "0", |
| | 673 | "rjBzzw": 5, |
| | 674 | "introduce": 0, |
| | 675 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", |
| | 676 | "minPrice": "41.68", |
| | 677 | "paiLiang": "2.0", |
| | 678 | "jqx": 950, |
| | 679 | "glassPercent": 0.0019, |
| | 680 | "compared": "", |
| | 681 | "result": { |
| | 682 | "shoufu": 12.5, |
| | 683 | "loan": 290000, |
| | 684 | "monthPay": 0.89, |
| | 685 | "firstPayTotal": 17.82, |
| | 686 | "loantotal": 49.94, |
| | 687 | "total": 46.82 |
| | 688 | } |
| | 689 | }] |
| | 690 | }, |
| | 691 | { |
| | 692 | "title": " 3.0L 机械增压 272马力", |
| | 693 | "data": [{ |
| | 694 | "id": "33321", |
| | 695 | "title": "2015款 3.0 50TFSI quattro旗舰型", |
| | 696 | "price": "57.81", |
| | 697 | "config": "7挡双离合 前置四驱 托森式差速", |
| | 698 | "state": "在售", |
| | 699 | "status": "在售", |
| | 700 | "isNews": "0", |
| | 701 | "rjBzzw": 5, |
| | 702 | "introduce": 0, |
| | 703 | "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", |
| | 704 | "minPrice": "7.0", |
| | 705 | "paiLiang": "", |
| | 706 | "jqx": 950, |
| | 707 | "glassPercent": 0.0019, |
| | 708 | "compared": "", |
| | 709 | "result": { |
| | 710 | "shoufu": 2.1, |
| | 711 | "loan": 50000, |
| | 712 | "monthPay": 0.15, |
| | 713 | "firstPayTotal": 3.2, |
| | 714 | "loantotal": 8.73, |
| | 715 | "total": 8.2 |
| | 716 | } |
| | 717 | }] |
| | 718 | }] |
| | 719 | } |
| | 720 | |