Changes between Version 18 and Version 19 of pcauto_4.5.0/interface
- Timestamp:
- 09/02/2014 04:55:50 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_4.5.0/interface
v18 v19 490 490 请求参数: 491 491 keyword:搜索的关键词 492 types: 输出的内容:zh为综合,wz为文章,tz为帖子,可同时传入493 492 返回结果: 494 493 { 495 494 "keyword": "如果是模糊搜索出来的,这个keyword会和请求参数的keyword不一样", 496 495 "serial": { 497 "id": 573618,498 496 "serialId": 3404, 499 497 "serialName": "福克斯", … … 503 501 { 504 502 "id": "33318", 505 "minPrice": "23.10", 506 "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 507 "price": "27.28", 508 "status": "在售", 503 "price": "23.10", (官方价) 509 504 "title": "2015款 1.8 30TFSI 手动舒适型", 510 "vendorPrice": "23.10~27.28"511 505 } 512 506 ] … … 517 511 "name": "起亚K3", 518 512 "priceRange": "10.28~14.98万", 519 "kind": "最新上市",520 "photo": "http://img0.pcauto.com.cn/pcauto/1407/10/4691799_k3.jpg"521 513 } 522 514 ], … … 525 517 "authorId": 22393072, 526 518 "authorName": "hkitty", 527 "authorPhoto": "http://i1.3conline.com/images/upload/upc/face/22/39/30/72/22393072_50x50", 528 "contribution": 0, 529 "forumId": 19017, 530 "forumName": "内部测试", 531 "images": [ 532 { 533 "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611290_1406089561207.jpg", 534 "width": 100, 535 "height": 200 536 } 537 ], 538 "nickname": "Rachel", 539 "postCount": 1, 540 "pubTime": 1406166953000, 519 "pubDate": “2014-08-26”, 541 520 "topicId": 5098712, 542 521 "topicTitle": "普通帖子", … … 548 527 "channelId": 2, 549 528 "channelName": "新车", 550 "count": 10,551 529 "id": "5023924", 552 "image": "http://img0.pcauto.com.cn/pcauto/1408/26/g_5023924_1409017503587_240x160.jpg",553 530 "pubDate": "2014-08-26", 554 531 "title": "野马F16将成都车展上市 并发布全新LOGO", … … 559 536 { 560 537 "id": "33318", 561 "minPrice": "23.10",562 538 "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 563 "price": "27.28",564 "status": "在售",565 539 "title": "2015款 1.8 30TFSI 手动舒适型", 566 " vendorPrice": "23.10~27.28"540 "price": "23.10~27.28" (官方价) 567 541 } 568 542 ] … … 586 560 sort:排序方式(不填则默认最相关,time:最新发布,access:最热门) 587 561 searchTime:发布时间(不填则搜全部时间,year:一年内,month:一个月内,week:一周内) 562 type:帖子分类 563 pageNo:页数 (可不传,默认为1) 588 564 返回结果: 589 565 { … … 593 569 "authorId": 22393072, 594 570 "authorName": "hkitty", 595 "authorPhoto": "http://i1.3conline.com/images/upload/upc/face/22/39/30/72/22393072_50x50", 596 "contribution": 0, 597 "forumId": 19017, 598 "forumName": "内部测试", 599 "images": [ 600 { 601 "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611290_1406089561207.jpg", 602 "width": 100, 603 "height": 200 604 } 605 ], 606 "nickname": "Rachel", 607 "postCount": 1, 608 "pubTime": 1406166953000, 571 "pubDate": "2014-08-26", 609 572 "topicId": 5098712, 610 573 "topicTitle": "普通帖子", … … 614 577 "types": [ 615 578 { 616 "id": "33318",617 579 "name": "全部论坛" 618 580 } 619 ] 581 ], 582 "bbsInfo": { 583 "forumId": 16040, 584 "forumName": "朗逸论坛", 585 "sid": 3225, //车系ID 586 "topicTotal": 525125 //论坛总数 587 } 620 588 } 621 589 }}} … … 637 605 sort:排序方式(不填则默认最相关,time:最新发布,access:最热门) 638 606 searchTime:发布时间(不填则搜全部时间,year:一年内,month:一个月内,week:一周内) 607 city:城市(行情时选择的城市,分类是行情时才用到) 608 pageNo:页数 (可不填,不填默认为1) 639 609 返回结果: 640 610 { … … 644 614 "channelId": 2, 645 615 "channelName": "新车", 646 "count": 10,647 616 "id": "5023924", 648 "image": "http://img0.pcauto.com.cn/pcauto/1408/26/g_5023924_1409017503587_240x160.jpg",649 617 "pubDate": "2014-08-26", 650 618 "title": "野马F16将成都车展上市 并发布全新LOGO", … … 654 622 "types": [ 655 623 { 656 "id": "33318", 657 "name": "全部分类" 658 } 624 "name": "全部"(两个字) 625 } 626 ], 627 "citys" : [ 628 { 629 "count" : 123 , (该城市下结果数量) 630 "name":"北京",(城市名称) 631 } 659 632 ] 660 633 } … … 1008 981 返回结果: 1009 982 是一个zip包,其中是首页接口前30条的具体包内容,有文章,帖子,图集 1010 文章: 1011 http://mrobot.pconline.com.cn/v3/cms/articles/{aritlce id}.zip 983 1012 984 1013 985 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)