Table of Contents
汽车金融WAP1.0页面文档
项目说明:
项目域名(wap): http://m.jr.pcauto.com.cn
mrobot代理环境说明:
192.168.10.198:1080(192.168.74.80)
192.168.10.199:1080 ,连的是dev40的开发环境(192.168.75.40)
1. 金融首页
wap
url: http://m.jr.pcauto.com.cn
后端
热门车型接口
测试:' http://dev43.pcauto.com.cn:8001/interface/outer/mobile/hotModel.jsp?rId=
热门金融产品推荐
测试:' http://dev43.pcauto.com.cn:8001//interface/outer/mobile/hotProduct.jsp?rId=
说明
功能编号(对应排期文档):2.0
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=2、汽车金融首页
查看汽车金融wap版首页 rewrite:
{from: '/r(
d{1,3})/$', to:'/s/finance/index.xsp?rId=$1', comment: '金融首页'},
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| rId | 城市ID | int | 1 | Y | 城市ID |
2. 品牌车系页
(wap开发中)
功能编号:4-0
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=12、wap判断不
url:
贴息品牌页: http://m.jr.pcauto.com.cn/discount/
购车贷款品牌页: http://m.jr.pcauto.com.cn/choose/
购车小秘品牌页: http://m.jr.pcauto.com.cn/helper/
后端对应url:
http://jr.pcauto.com.cn/interface/outer/mobile/allBrand.jsp (全品牌数据)
http://jr.pcauto.com.cn/interface/outer/mobile/hasDiscountProBrand.jsp(有贴息品牌数据)
http://jr.pcauto.com.cn/interface/outer/mobile/allManuSerialGroup.jsp?bId=1
http://jr.pcauto.com.cn/interface/outer/mobile/hasDiscountManuSerialGroup.jsp?bId=1
说明
品牌选择页
rewrite:
{from: '/discount/r(
d{1,3})/$', to:'/s/finance/common/chooseBrSe.xsp?rid=$1&type=discount&src=0', comment: '贴息品牌车系页'},
{from: '/serials/r(
d{1,3})/b(
d{1,3})/t(0|1)/$', to:'/s/finance/common/chooseSerials.xsp?rid=$1&bid=$2&type=$3', comment: '车系页(t1有贴息促销)'},
{from: '/choose/r(
d{1,3})/$', to:'/s/finance/common/chooseBrSe.xsp?rid=$1&type=default&src=0', comment: '品牌车系页(购车贷款)'},
{from: '/helper/r(
d{1,3})/$', to:'/s/finance/common/chooseBrSe.xsp?rid=$1&type=default&src=1', comment: '品牌车系页(购车小秘)'},
参数说明:
type表示贴息信息类型:discount表贴息信息\default表默认 bid表品牌id src表示源头 0表示购车贷款,立即申请进入 1表示是中间页,作为中价,选择后跳转到车型页再跳转回资质页
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| rid | 城市Id | int | 无 | 是 | 无 |
3. 车型列表页
(wap开发中)
url:
http://m.jr.pcauto.com.cn/helper/r2/sg434/ (此url用于购车小秘helper时内部跳转使用)
后端对应url:
功能编号:8-6
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=3_3_6、更换车型
说明
购车小秘进入资质页后进行车型的选择
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| rid | 城市Id | int | 无 | 是 | 无 |
| serialId | 车系Id | int | 无 | 是 | 无 |
4. 资质选择页(购车小秘及立即申请跳转)
(wap开发中)
功能编号:8-6
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=8、购车小秘_资质选择_年龄_
url:
http://m.jr.pcauto.com.cn/helper/apply/?isChoosed=1 (从购车小秘进入带参数isChoosed表前面资质已经选择了,跳转到最后一步)
http://m.jr.pcauto.com.cn/helper/apply/ 首页购车小秘进入对应url
http://m.jr.pcauto.com.cn/choose/apply/立即申请,去掉最后一步,车型及城市选择,收入填入成功后直接跳转到推荐页
后端对应url:
说明
资质选择页
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| rid | 城市Id | int | 无 | 是 | 无 |
| isChoosed | 表已选过 | int | 0 | 是 | 无 |
| isHelper | 表从首页购车小秘进入 | int | 1 | 是 | 无 |
5. 询价/提交成功页
功能编号:7-13 & 8-10
(wap开发中)
url:
http://m.jr.pcauto.com.cn/success/ 询价成功页,不带参数
http://m.jr.pcauto.com.cn/success/r1/qr2148/ 提交成功页,其中参数qr=2148
后端对应url:
http://jr.pcauto.com.cn/interface/outer/mobile/checkOrder.jsp?orderId=2148 验证参数是否是准确的三级订单
http://m.jr.pcauto.com.cn/api/qrcode?orderId=2148 获取带参数的二维码
原型url:
http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=13_2、询价成功页面
http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=10、信息提交、申请成功_1
说明
带参数为提交成功页,不带参数为询价成功页,参数为空则为询价成功页
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| qr | 二维码参数 | int | 无 | 否 | 参数最大长度为13 |
| orderId | 二维码参数 | int | 无 | 否 | 三级订单id |
6. 按预算选车-选品牌页
功能编号:5-3
(wap开发中)
url:
http://m.jr.pcauto.com.cn/brand/r1/d5-mp3-k73-st1/ 选品牌页,带参数5个参数
后端对应url:
http://jr.pcauto.com.cn/interface/outer/mobile/top300Brands.jsp 获取热门品牌top300数据
原型url:
http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=3_1、选品牌
说明
点击品牌,传递参数给按预算选车页,固定链接,参数排序不能乱
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| r | 城市id | int | 无 | 否 | rid |
| d | 首付范围 | int | 无 | 是 | prePayRange |
| mp | 月供范围 | int | 无 | 是 | paymentRange |
| k | 级别 | int | 无 | 是 | level |
| st | 排序 | int | 无 | 是 | sort |
7. 金融产品列表页
wap
url: http://m.jr.pcauto.com.cn/choose/r1/sg10512/
后端
金融产品列表页接口
测试:' http://dev43.pcauto.com.cn:8001/interface/outer/mobile/listProduct.jsp?rId=1&modelId=28223&pageNo=1&pageSize=4
车型列表接口
测试:' http://dev43.pcauto.com.cn:8001/interface/outer/mobile/listModel.jsp?sgId=2453
金融列表/详情页经销商接口
测试:' http://dev43.pcauto.com.cn:8001/interface/outer/mobile/listDealer.jsp?rId=1&modelId=30659
说明
功能编号(对应排期文档):6.0
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=9_3、金融产品列表页_贴息产品_
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| r | 城市ID | int | 1 | Y | 城市ID |
| sg | 车系id | int | 1 | 否 | 车系ID和车型ID二者必须有一个 |
| m | 车型id | int | 1 | 否 | 车系ID和车型ID二者必须有一个 |
8. 推荐产品页(即购车小秘及我要贷款进来)
wap
url:
我要贷款进入: http://m.jr.pcauto.com.cn/goodRecommend/r1/h0-m25132-org91-pro225-p24-s30-tel13527783635/?qua={%22age%22:%224%22,%22annualIncome%22:%222000000%22,%22creditSituation%22:%2225,27%22,%22education%22:%2210%22,%22housingSituation%22:%2217%22,%22maritalStatus%22:%2213%22,%22profession%22:%2223%22}
购车小秘进入:
http://m.jr.pcauto.com.cn/goodRecommend/r1/h1-m37636/?qua={%22age%22:%222%22,%22annualIncome%22:%2210000%22,%22creditSituation%22:%2225,27%22,%22education%22:%227%22,%22housingSituation%22:%2215%22,%22maritalStatus%22:%2213%22,%22profession%22:%2221%22}
后端
金融产品列表页接口
推荐产品接口:
推荐经销商接口: " http://jr.pcauto.com.cn/interface/outer/mobile/listDealer.jsp?rId="+rId+"&modelId="+modelId;[[BR]]
说明
功能编号(对应排期文档):6.0
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=7_3、符合金融产品_修改_
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| r | 城市ID | int | 1 | Y | 城市ID |
| h | 表购车小秘或才我要贷款 | int | 1 | 否 | |
| m | 车型id | int | 1 | 是 | 车型ID |
| org | 机构 | int | 无 | 否 | |
| pro | 产品ID | int | 无 | 否 | |
| s | 还款期数 | int | 无 | 否 | |
| p | 首付比例 | int | 无 | 否 | |
| tel | 电话号码 | int | 无 | 否 | |
| qua | 资质 | json | 无 | 是 | 资质json格式 |
9. 发送验证码
(wap开发中)
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=7_3、符合金融产品_修改_
url:
http://m.jr.pcauto.com.cn/sendCode/
后端对应url:
发送验证码:
jr.pcauto.com.cn/interface/outer/mobile/sendCode.jsp?phone=13527784859
校验验证码:
jr.pcauto.com.cn/interface/outer/mobile/checkCode.jsp?phone=13527784859&code=123456;
说明
资质选择页
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|---|---|---|---|---|
| rid | 城市Id | int | 无 | 是 | 无 |
10. 我的订单
(wap开发中)
原型地址: http://trac.pc.com.cn/mobile/pototype/pcauto-finance/wap/WAP_v1.10_20150924/#p=11、我的订单_修改_
url:
http://m.jr.pcauto.com.cn/order/r1/
后端对应url:
订单查询接口:
http://jr.pcauto.com.cn/interface/outer/mobile/myOrder.jsp?tel=18302077684
说明
我的订单页
调用方式
get
请求参数
| 参数名 | 参数含义 | 类型 | 默认值 | 是否必需 | 说明 |
|---|
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)