Changes between Version 8 and Version 9 of pcauto_4.5.0/interface
- Timestamp:
- 08/27/2014 12:22:34 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_4.5.0/interface
v8 v9 568 568 点击点评协议: pcaction://goto-comment/ 569 569 点击团购协议: pcautobrowser://goto-group-buying/ 570 点击经销商协议: pcaction://goto-dealer 570 点击经销商协议: pcaction://goto-dealer/dealerid 571 571 点击询底价: pcautobrowser://serial-ask-price/?serialId=33318&serialName=2015%E6%AC%BE+1.8+30TFSI+%E6%89%8B%E5%8A%A8%E8%88%92%E9%80%82%E5%9E%8B&dealerId=&url=http%3A%2F%2Fimg.pconline.com.cn%2Fimages%2Fupload%2Fupc%2Ftx%2Fauto5%2F1210%2F01%2Fc0%2F14229062_14229062_1349107127921_120x90.jpg 572 572 点击购车计算: pcautobrowser://calculate-cost/modelid … … 599 599 === 2.4.3 [=#point2.4.3 车系优惠页] === 600 600 {{{ 601 请求url:http://mrobot.pcauto.com.cn/v3/price/dealersSerialv36?serialId=7889&areaId=1 602 HTTP请求方式:GET 603 是否需要登录:false 604 返回格式:HTML页面 605 返缓存方式: 606 缓存时间: 607 说明:样式调整 608 请求参数: 609 610 返回结果: 601 请求url: 602 HTTP请求方式:GET 603 是否需要登录:false 604 返回格式:HTML页面 605 返缓存方式: 606 缓存时间: 607 说明: 608 原有接口:http://mrobot.pcauto.com.cn/v3/price/dealersSerialv36?serialId=7889&areaId=1 609 610 请求参数: 611 serialId=7889车系id 612 areaId=1地区id 613 返回结果: 614 611 615 612 616 }}} … … 621 625 返缓存方式: 622 626 缓存时间: 623 说明:样式调整,区分在售、停售 627 说明: 628 样式调整,区分在售、停售 629 原有接口:http://mrobot.pcauto.com.cn/v3/price/commentList/7929 624 630 请求参数: 625 631 … … 681 687 返缓存方式: 682 688 缓存时间: 683 说明:typeId被细化,增加外观分类 689 说明: 690 typeId被细化,增加外观分类 691 原有车系图片接口: http://mrobot.pcauto.com.cn/v2/price/pictures?serialGroupId=7889&pageSize=1497&typeId=1&colorId=0&modelId=0 684 692 请求参数: 685 693 serialId // 车系id … … 690 698 pageSize //每页显示多少条 691 699 返回结果: 692 700 { 701 "sections": [ 702 { 703 "title": "外观", 704 "photos": [ 705 { 706 "bigPath": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/24/c16/36663887_36663887_1406193782359_400x300.jpg", 707 "smallPath": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/24/c16/36663887_36663887_1406193782359_120x90.jpg" 708 } 709 ] 710 } 711 ] 712 } 693 713 }}} 694 714 … … 765 785 }}} 766 786 767 === 2.4.10 [=#point2.4.10 精准选车条件] === 768 {{{ 769 请求url:http://mrobot.pcauto.com.cn/v2/price/models/search?price=7&jb=72&pl=4&bsx=3&pageNo=1&pageSize=20&v=4.3.0 770 HTTP请求方式:GET 771 是否需要登录:false 772 返回格式:JSON 773 返缓存方式: 774 缓存时间: 775 说明: 776 请求参数: 777 778 返回结果: 779 787 === 2.4.10 [=#point2.4.10 精准选车条件结果] === 788 {{{ 789 请求url: 790 HTTP请求方式:GET 791 是否需要登录:false 792 返回格式:JSON 793 返缓存方式: 794 缓存时间: 795 说明: 796 原有接口: http://mrobot.pcauto.com.cn/v2/price/models/search?price=7&jb=72&pl=4&bsx=3&pageNo=1&pageSize=20&v=4.3.0 797 原有接口使用的price是http://mrobot.pcauto.com.cn/v3/price/models/criterionv36?v=4.3.0接口中取的index,但4.5版本使用的价格是可以自定义范围的不适用,这个参数要改 798 同样配置的参数:pz的值也是取其index,4.5要改成可多选 799 请求参数: 800 801 返回结果: 802 { 803 "serial": { 804 "id": 573618, 805 "serialId": 3404, 806 "serialName": "福克斯", 807 "price": "9.98-16.99万", 808 "image": "http:\/\/img.pconline.com.cn\/images\/upload\/upc\/tx\/auto5\/1307\/24\/c16\/23702964_1374654889218_270x202.jpg", 809 "cars": [ 810 { 811 "id": "33318", 812 "minPrice": "23.10", 813 "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 814 "price": "27.28", 815 "status": "在售", 816 "title": "2015款 1.8 30TFSI 手动舒适型", 817 "vendorPrice": "23.10~27.28" 818 } 819 ] 820 }, 821 "modelTotal": 86, 822 "pageCount": 18, 823 "pageNo": 1, 824 "pageSize": 1, 825 "total": 18 826 } 780 827 }}} 781 828 … … 791 838 说明: 792 839 请求参数: 793 794 返回结果: 840 targetId: 841 返回结果: 842 是一个zip包,其中是首页接口前30条的具体包内容,有文章,帖子,图集 843 795 844 796 845 }}} … … 825 874 缓存时间: 826 875 说明: 876 827 877 请求参数: 828 878 … … 843 893 844 894 返回结果: 895 点击详细问题,进入常见问题终端页协议:pcautobrowser://FAQ/10003 896 845 897 846 898 }}} … … 857 909 说明: 858 910 请求参数: 859 911 id:常见问题id 860 912 返回结果: 861 913 … … 881 933 resp_enc:UTF-8 882 934 返回结果: 883 935 { 936 "total": 1, 937 "pageNo": 1, 938 "resultList": [ 939 { 940 "fanNum": 3, 941 "accountId": 30768965, 942 "focusNum": 2, 943 "nickName": "摇号最讨厌了", 944 "image": "http://i1.3conline.com/images/upload/upc/face/30/76/89/65/30768965_50x50", 945 "mutualFocus":相互关注true,否者false 946 } 947 ], 948 "pageCount": 1, 949 "pageSize": 20 950 } 884 951 }}} 885 952 … … 895 962 说明: 896 963 请求参数: 897 898 返回结果: 899 900 }}} 901 902 === 2.5.5.1 [=#point2.5.5.1 经销商 是否已收藏] ===903 {{{ 904 请求url: 905 HTTP请求方式: GET964 dealerid:经销商id 965 返回结果: 966 967 }}} 968 969 === 2.5.5.1 [=#point2.5.5.1 经销商收藏] === 970 {{{ 971 请求url: 972 HTTP请求方式:POST 906 973 是否需要登录:true 907 974 返回格式:JSON … … 910 977 说明: 911 978 请求参数: 912 913 返回结果: 914 915 }}} 916 917 === 2.5.6 [=#point2.5.6 推送设置] === 918 {{{ 919 请求url: 920 HTTP请求方式:GET 921 是否需要登录:false 922 返回格式:JSON 923 返缓存方式: 924 缓存时间: 925 说明: 926 请求参数: 927 928 返回结果: 929 930 }}} 979 dealerid:经销商id 980 返回结果: 981 982 }}} 983 984 985 === 2.5.5.2 [=#point2.5.5.2 删除经销商收藏] === 986 {{{ 987 请求url: 988 HTTP请求方式:POST 989 是否需要登录:true 990 返回格式:JSON 991 返缓存方式: 992 缓存时间: 993 说明: 994 请求参数: 995 dealerid:经销商id 996 返回结果: 997 998 }}} 999 1000 1001 === 2.6.0 [=#point2.6.0 降价列表] === 1002 {{{ 1003 请求url: 1004 HTTP请求方式:GET 1005 是否需要登录:false 1006 返回格式:JSON 1007 返缓存方式: 1008 缓存时间: 1009 说明: 1010 原有接口: http://mrobot.pcauto.com.cn/v3/price/promotionList?areaId=1&pageNo=1&pageSize=20&orderBy=popularity 1011 增加一个筛选方式,类似精准选车的 1012 请求参数: 1013 areaId:地区id 1014 brandId:品牌id 1015 serialId:车系id 1016 modelId:车型id 1017 orderBy:popularity, newest, discountRange, lowestPrice; 1018 分别指按车型热度,按最新,按降价幅度,按最低价格 1019 返回结果: 1020 { 1021 "data": [ 1022 { 1023 "area": "广州", 1024 "createTime": 1406602096000, 1025 "dealerId": "45742", 1026 "dealerName": "进口大众广州鸿众", 1027 "dealerNewsId": "5154551", 1028 "dealerType": "综合店", 1029 "decline": "35.0", 1030 "discount": "163400", 1031 "image": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1308/01/c8/24016521_1375350331166_350x260.jpg", 1032 "is400": "1", 1033 "isShow24Icon": 1, 1034 "modelId": "32583", 1035 "modelName": "高尔夫(进口) 2014款 2.0 TSI R敞篷版", 1036 "modelPrice": "46.68", 1037 "phone": "400-860-0819", 1038 "price": "30.34", 1039 "serialGroupId": 4391, 1040 "serialGroupName": "高尔夫(进口)" 1041 } 1042 ], 1043 "pageNo": 1, 1044 "pageSize": 20, 1045 "total": 6559 1046 } 1047 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)