文档
测试

车辆详情

POST
http://171.15.132.158:8081/car/public/index.php/api/choose/cardetail.html?id=6

接口描述

正式地址:http://icar.zzguojilugang.com/car/public/index.php/api/choose/cardetail.html?id=6

请求参数

参数名
类型
描述
必填
id
6
必填

响应参数

参数名
类型
描述
必填
carShowPhoto
array
数据列表
必填
name
string
示例:第一张车图片轮播
必填
imgs
string
示例:http://localhost/car/public//upload\20180404\04ced431d5d9b096f433829a7b44510d.jpg
必填
cardetail
object
数据字典
必填
name
string
名称,示例:17款玛莎拉蒂总裁S Q4 3.0T
必填
price
string
价格,示例:126.00
必填
oprice
string
原始价格,示例:150.00
必填
cid
int
示例:7
必填
cartype
object
车型:数据字典
必填
name
string
示例:皇冠
必填
basicInfo
object
数据字典
必填
neshaps
string
排放标准,示例:国5
必填
mileage
string
表显里程,示例:6.0万公里
必填
use_nature
string
使用性质,示例:非运营
必填
mot_due
string
车检到期,示例:2018-08-16
必填
insure_due
string
保险到期,示例:2020-08-16
必填
maintain
string
保养情况,示例:4s店非定期
必填
car_vendor
string
车辆厂商,示例:奔驰
必填
car_lever
string
车辆级别,示例:豪华车
必填
color
string
示例:外白/内棕
必填
car_structure
string
车身结构,示例:4门5座三厢车
必填
mass
string
示例:2116kg
必填
wheelbase
string
示例:43156mm
必填
motor
string
示例:3.0T V6
必填
gearbox
string
变速箱,示例:8挡手自一体
必填
emission
string
排量,示例:4996ml
必填
fuel
string
燃油类型,示例:汽油
必填
driver_type
string
驱动方式,示例:前置四驱
必填
oil
string
综合油耗,示例:8L/100km
必填
config
亮点配置
必填
detailInfo
object
数据字典
必填
app_cardetail
string
示例:http://localhost/car/public//upload\20180710\e960b9fb7d960a2b9de153bd70d5b3fd.jpg
必填
carType
int
示例:1
必填

说明 / 示例

{ "carShowPhoto": [ { "name": "第一张车图片轮播", "imgs": "http://localhost/car/public//upload\\20180404\\04ced431d5d9b096f433829a7b44510d.jpg" }, { "name": "第二张车图片轮播", "imgs": "http://localhost/car/public//upload\\20180404\\0a208714a5534c34fc76d9a53bb7b355.jpg" }, { "name": "第三张车图片轮播", "imgs": "http://localhost/car/public//upload\\20180404\\2231c34edd57b0a43031ae568e470c89.jpg" }, { "name": "第四张车图片轮播", "imgs": "http://localhost/car/public//upload\\20180404\\fdf588777562d3c7102560b3fde75594.jpg" }, { "name": "第五张车图片轮播", "imgs": "http://localhost/car/public//upload\\20180710\\36997360ca0c922922d2967c2fa5de88.jpg" } ], "cardetail": { "name": "17款玛莎拉蒂总裁S Q4 3.0T", "price": "126.00", "oprice": "150.00", "cid": 7, "cartype": { "name": "皇冠" } }, "basicInfo": { "neshaps": "国5", "mileage": "6.0万公里", "use_nature": "非运营", "mot_due": "2018-08-16", "insure_due": "2020-08-16", "maintain": "4s店非定期", "car_vendor": "奔驰", "car_lever": "豪华车", "color": "外白/内棕", "car_structure": "4门5座三厢车", "mass": "2116kg", "wheelbase": "43156mm", "motor": "3.0T V6", "gearbox": "8挡手自一体", "emission": "4996ml", "fuel": "汽油", "driver_type": "前置四驱", "oil": "8L/100km" }, "detailInfo": { "app_cardetail": "http://localhost/car/public//upload\\20180710\\e960b9fb7d960a2b9de153bd70d5b3fd.jpg" }, "carType": 1 }