Changes between Version 1 and Version 2 of pcauto_drive_1.1.0/interface
- Timestamp:
- 05/25/2015 12:01:47 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pcauto_drive_1.1.0/interface
v1 v2 40 40 }}} 41 41 42 === 2.2 [=#point2.2 违章查询] === 43 ==== 2.2.1 [=#point2.2.1 查询首页] ==== 42 === 2.2 [=#point2.2 获取驾校接口] === 44 43 (开发已完成,测试请连开发机代理) 45 44 {{{ 46 请求url:http://mrobot.pcauto.com.cn/xsp/ s/auto/info/v4.7/illegalQueryv47.xsp45 请求url:http://mrobot.pcauto.com.cn/xsp/x/192.168.33.60:8081/interface/app/getSchoolByCityId.jsp?cityId=440100 47 46 HTTP请求方式:GET 48 47 是否需要登录:false 49 返回格式: HTML页面48 返回格式:json 50 49 缓存方式:无 51 50 缓存时间:没有 52 请求参数:无 53 返回结果:HTML 54 点击提交返回协议pcaction://webview_searchInf/?regionStr=%E5%8E%A6%E9%97%A8&abbrStr=%E7%B2%A4&numStr=AEOC07&engineStr=AS1234&vinStr=DF0987&telStr=15813374371&yearStr=2010&monthStr=10 55 HTTP请求方式:GET 51 请求参数: 52 “cityId" : 城市id 53 “type” : 1代表省,2代表市(北京,天津,上海,重庆参数请求为1,其它市区参数请求为2) 54 返回结果: 55 { 56 "code": 0或-1 (0成功,-1失败) 57 "message":提示信息 58 "schoolList": [ 59 { 60 "school": "粤通驾校" 61 }, 62 { 63 "school": "粤南驾校" 64 } 65 ] 66 } 67 56 68 }}} 57 协议参数说明: 58 ||参数名||类型||必须||说明|| 59 ||regionStr||String||Y||查询地区|| 60 ||abbrStr||String||Y||车牌所在的省份|| 61 ||numStr||String||N||车牌号|| 62 ||engineStr||String||N||发动机号|| 63 ||vinStr||String||N||车架号|| 64 ||telStr||String||N||电话|| 65 ||yearStr||String||N||年|| 66 ||monthStr||String||N||月|| 67 68 ==== 2.2.2 [=#point2.2.2 查询结果页(显示详情或查询错误页)] ==== 69 70 === 2.3 [=#point2.3 获取评论精华接口] === 69 71 (开发已完成,测试请连开发机代理) 70 72 {{{ 71 输入车辆信息正确、匹配72 请求url:http://mrobot.pcauto.com.cn/ v3/pingan/illegalInf?shopSign=%E6%B2%AAK79018&voitureNo=&engineNo=006496&carType=0173 获取题库对应的所有精华评论,返回json文件 74 请求url:http://mrobot.pcauto.com.cn/configs/pcauto_drive_questionBank 73 75 HTTP请求方式:GET 74 76 是否需要登录:false 75 返回格式:HTML页面 76 缓存方式:接口缓存 77 缓存时间:10min 78 返回结果:HTML 79 80 输入信息不匹配,车辆信息错误的时候 81 请求url:http://mrobot.pcauto.com.cn/v3/pingan/illegalInf?shopSign=%E6%B2%AAK79018&voitureNo=&engineNo=006496&carType=01 82 HTTP请求方式:GET 83 是否需要登录:false 84 返回格式:HTML页面 85 缓存方式:接口缓存 86 缓存时间:10min 77 返回格式:json 78 缓存方式:无 79 缓存时间:无 80 请求参数:无 87 81 返回结果: 88 {"code": -1,"msg": "车辆信息错误"} 82 { 83 "version":"1" , 84 "url": "http://ftp-apk.pconline.com.cn/82291eabece07cd0d161164be8f88e88/pub/download/201010/pcauto.zip" 85 } 89 86 90 87 }}} 91 请求参数:92 ||参数名||类型||必须||说明||93 ||shopSign||String||Y||车牌号码||94 ||carType||String||Y||车牌类别||95 ||voitureNo||String||N||车架号||96 ||engineNo||String||N||发动机号||97 ||province||String||N||省份||98 ||cityName||String||N||城市名||99 ||user_mobile||String||N||手机号码||100 ||buydate||String||N||购买日期||101 ||insuranceExpired ||String||N||保险到期日 ||102 ||carSeries||String||N||车系||103 ||buyprice ||String||N||购买价格||104 ||carMaker ||String||N||购车品牌 ||105 ||carModel||String||N||车型||106 ||miles||String||N||行驶里数||107 ||other ||String||N||其他参数 ||
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)