wiki:pcautofinance1.0_developers/pages

Version 44 (modified by caozhaoyuan, 11 years ago) (diff)

--

汽车金融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城市Idint

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城市Idint
serialId车系Idint

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/apply/?isChoosed=1&isHelper=1 (从购车小秘进入带参数isChoosed表前面资质已经选择了,跳转到最后一步)
 http://m.jr.pcauto.com.cn/apply/?isHelper=1 首页购车小秘进入对应url
 http://m.jr.pcauto.com.cn/apply/立即申请,去掉最后一步,车型及城市选择,收入填入成功后直接跳转到推荐页

后端对应url:

说明

资质选择页

调用方式

get

请求参数

参数名 参数含义 类型 默认值 是否必需 说明
rid城市Idint
isChoosed表已选过int0
isHelper表从首页购车小秘进入int1

5. 询价/提交成功页

功能编号:7-13 & 8-10
(wap开发中)

url:

 http://m.jr.pcauto.com.cn/success/ 询价成功页,不带参数
 http://m.jr.pcauto.com.cn/success/?qr=123456 提交成功页,其中参数qr=123456

后端对应url:

 http://m.jr.pcauto.com.cn/api/qrcode?phoneId=123456 获取带参数的二维码

原型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二维码参数int0参数为空或0均为询价成功

6. 按预算选车-选品牌页

功能编号:5-3
(wap开发中)
url:

 http://m.jr.pcauto.com.cn/brand/ 选品牌页,不带参数
 http://m.jr.pcauto.com.cn/brand/r1/?level=3&prePayRange=55&paymentRange=1 选品牌页,带参数4个参数

后端对应url:

 http://dev43.pcauto.com.cn:8001/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

请求参数

参数名 参数含义 类型 默认值 是否必需 说明
rid城市idint
level级别int
prePayRange首付范围int
paymentRange月供范围int

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二者必须有一个