文档
测试

商品详情

POST
https://api.chinartn.cn/api.php?s=/goods/goodsCarDetail

接口描述

获取车源商品详情

请求参数

参数名
类型
描述
必填
token
string
* 用户标识
必填
goods_id
number
goods_id
必填
group_id
number
活动类型id (1.库存车 2.特别推荐 3.路运直卖 4.港口特价 5. 路运竞拍 6.一口价)
必填
promotion_id
number
活动id 库存车/竞拍 需要
必填
get_type
number
* 默认为1 获取拒绝车源详情为3
必填

响应参数说明

```json { "code": 0, "message": "success", "data": { "goods_type": 8, "img_id_array": "168,245,246,247,0,0,0,0,0,0,0,0,0", "label_id_array": "", "goods_id": 25, "market_price": "1.00", // 市场价格 "stock": 4, "clicks": 44, "sales": 0, "picture": 168, "introduction": "", // 商品简介 "state": 1, // 商品状态 0下架,1正常,2.车辆发布成功 10违规(禁售) "goods_attribute_id": 0, "sale_date": 1571622110, // 上下架时间 "is_testing": 1, // 1.已检测 0.未检测 "description" : '' //商品详情 "testing_json": "{"8":{"testing_id":8,"damage":2,"deduction_num":2,"testing_desc":"1231231","img_arr":["upload\\/common\\/1572255086.jpg"]},"9":{"testing_id":9,"damage":2,"deduction_num":0,"testing_desc":"","img_arr":[]}}", "testing_time": 1571731192, // 检测时间 "testing_num": 98, // 检测评分 "testing_remark": "123123123", // 检测备注 "teing_uid": 1, // "shop_id": 0, "goods_video_address" : '' // 视频地址 "img_temp_array": [], // 轮播图数组 "img_list": [ { "pic_cover": "upload/goods/20191021/ec12eb1de604e7099a5f08c3f35ceb43.jpg" }, { "pic_cover": "upload/goods/20191024/13607493c57202e782a1d8a29636a62a.jpg" }, { "pic_cover": "upload/goods/20191024/604d252ed44ec22eef06ec37e7fd9475.jpg" }, { "pic_cover": "upload/goods/20191024/843535591d9a0fb4b68c7d143b1c8042.jpg" } ], // 商品主图 "picture_detail": { "pic_id": 168, "shop_id": 0, "album_id": 30, "is_wide": 0, "pic_name": "微信图片_20190906100304", "pic_tag": "微信图片_20190906100304", "pic_cover": "upload/goods/20191021/ec12eb1de604e7099a5f08c3f35ceb43.jpg", "pic_size": "500,375", "pic_spec": "500,375", "pic_cover_big": "upload/goods/20191021/8e6351ed296b5d908f1ccc4cabe098341.jpg", "pic_size_big": "700,700", "pic_spec_big": "700,700", "pic_cover_mid": "upload/goods/20191021/8e6351ed296b5d908f1ccc4cabe098342.jpg", "pic_size_mid": "360,360", "pic_spec_mid": "360,360", "pic_cover_small": "upload/goods/20191021/8e6351ed296b5d908f1ccc4cabe098343.jpg", "pic_size_small": "240,240", "pic_spec_small": "240,240", "pic_cover_micro": "upload/goods/20191021/8e6351ed296b5d908f1ccc4cabe098344.jpg", "pic_size_micro": "60,60", "pic_spec_micro": "60,60", "upload_time": 1571622107, "upload_type": 1, "domain": "", "bucket": "" }, "group_arr": [], "group_info": { "group_id": 5, "group_name": "路云竞拍", "group_gz": "" }, "label_arr": [], 车源信息 "car_info": { "testing_user_info" :{ nick_name: "", // 检测师名称 testing_auth_img :"" // 检测师认证图片 testing_desc :"" // 检测师描述 } 检测数组 "testing_info": { "data": [ { "class_id": 3, "pid": 0, "name": "骨架检测", // 检测名 "sort": 0, "error_num": 1, // 有问题总数 "child_list": [ { "class_id": 8, "pid": 3, "name": "水箱上支架", "sort": 0, "testing_json": "{ "testing_id":8, // 检测项id "damage":2, // 损害分数 "deduction_num":2, // 扣除分数 "testing_desc":"1231231", // 描述 "img_arr":["upload/common/1572255086.jpg"]}" // 损害图片 }, { "class_id": 10, "pid": 3, "name": "后备箱底板", "sort": 0 } ] }, { "class_id": 4, "pid": 0, "name": "外观检测", "sort": 0, "error_num": 0, "child_list": [ { "class_id": 11, "pid": 4, "name": "车右后门", "sort": 0 }, { "class_id": 12, "pid": 4, "name": "车右前门", "sort": 0 }, { "class_id": 13, "pid": 4, "name": "车右门底部", "sort": 0 } ] }, { "class_id": 5, "pid": 0, "name": "故障检测", "sort": 0, "error_num": 0, "child_list": [] }, { "class_id": 6, "pid": 0, "name": "安全检测", "sort": 0, "error_num": 0, "child_list": [] }, { "class_id": 7, "pid": 0, "name": "内饰检测", "sort": 0, "error_num": 0, "child_list": [] } ], "total_count": 5, "page_count": 1 }, 车源信息 "car_info": { "id": 3, "goods_id": 25, "goods_type": 8, "user_id": 0, "admin_id": 1, "is_gc": 0, "card_1": "upload/goods/20191021/1571622063.jpg",//正面行驶证图片 "card_2": "upload/goods/20191021/1571622064.jpg",//副面行驶证图片 "vehicle_type": "重型集装半挂车", //类型 "car_type": 1, "plate_num": "豫S3282", //车牌 "owner": "廊坊开发区凯通运输有限公司", "use_character": "货运", "inspection_record": "检验有效期至2006年4月有效豫S(01)", // 检验记录 "addr": "河北省廊坊市开发区云道", "vin": "L0198GT347RX4G730", "engine_num": "", "register_date": "20120717", "issue_date": "20120717", "appproved_passenger_capacity": "", "approved_load": "10010kg", "file_no": "", "gross_mass": "28010kg", "overall_dimension": "12740X2280X?", "traction_mass": "18000kg", "unladen_mass": "", "brands_id": 6, "system_id": 0, "par_id": null, "model": null, "synx": "1", //使用年限 "ml_num": 11, //马力值 "pf_id": 3, //排放id "bx_id": "0,1", //保险id "all_type": 2, //所有人类型 "rl_type": 0, //燃料类型 1.柴油 2.天然气 3.汽油 "is_btd": 1, //是否包提档 0.否 1.是 "is_dgcs": 1, //是否带挂出售 "zx_id": 0, //轴型 挂车才有 "is_yj": 0, //是否议价 "qd_id": 0, //驱动id "engine_brand": "", //发动机品牌 "tyre_spec": "", //轮胎规则 "aip_date" : "2017-05-01" // 年检期 "dg_price": "123.00", "ys_price": "123.00", //预售价格 "group_price_1": "0.00", "group_price_2": "0.00", // 厂商指导价 "group_price_3": "1.00", "group_price_4": "0.00", "group_price_5": "0.00", "group_price_6": "0.00", "create_time": 1571903560, "update_time": 1571903560, "car_type_name": "牵引车", //车辆类型名称 "pf_name": "国四", //排放名称 "qd_name": "请选择驱动", //驱动名称 "rl_name": "汽油", //燃料类型 "bx_name": [ "强险", "第三者" ] }, "gc_info": { "id": 4, "goods_id": 25, "goods_type": 8, "user_id": 0, "admin_id": 1, "is_gc": 1, "card_1": "upload/goods/20191021/1571622082.jpg", "card_2": "upload/goods/20191021/1571622084.jpg", "vehicle_type": "重型集装半挂车", "car_type": 1, "plate_num": "豫S3282", "owner": "廊坊开发区凯通运输有限公司", "use_character": "货运", "inspection_record": "检验有效期至2006年4月有效豫S(01)", "addr": "河北省廊坊市开发区云道", "vin": "L0198GT347RX4G730", "engine_num": "", "register_date": "20120717", "issue_date": "20120717", "appproved_passenger_capacity": "", "approved_load": "10010kg", "file_no": "", "gross_mass": "28010kg", "overall_dimension": "12740X2280X?", "traction_mass": "18000kg", "unladen_mass": "", "brands_id": 6, "system_id": 0, "par_id": null, "model": null, "synx": "0", "ml_num": 0, "pf_id": 0, "bx_id": "0", "all_type": 2, "rl_type": 0, "is_btd": 0, "is_dgcs": 0, "zx_id": 1, "is_yj": 0, "qd_id": 0, "engine_brand": "", "tyre_spec": "", "dg_price": "1.00", "ys_price": "0.00", "group_price_1": "0.00", "group_price_2": "0.00", "group_price_3": "0.00", "group_price_4": "0.00", "group_price_5": "0.00", "group_price_6": "0.00", "create_time": 1571903560, "update_time": 1571903560, "zx_name": "2轴" } }, // 竞拍信息 库存车同一数组 元素不一样 // 竞拍信息 "promotion_info": { "action_goods_id": 27, "action_id": 12, "goods_id": 25, "status": 4, // 活动状态(0-未发布/1-正常/3-关闭/4-结束) "start_price": "10.00", //起拍价 "add_price": "10.00", // 加价幅度 "deal_price": "10.00", "person_num": 0, //围观人数 "goods_name": "奥迪", "goods_picture": 168, "start_time": 1572591300, // 开始时间 "end_time": 1572595200, // 结束时间 "decimal_reservation_number": -1, "picture_info": { "pic_cover": "upload/goods/20191021/ec12eb1de604e7099a5f08c3f35ceb43.jpg" }, "price": "123.00", "stock": 4, "status_name": "活动结束" }, // 库存车活动信息 "promotion_info": { "stock_goods_id": 18, "stock_id": 19, // 活动id "goods_id": 27, "status": 1, "market_price": "11.00", // 市场价 "min_price": "11.00", // 最小出价 "deal_price": "0.00", "deal_rate": "0.00", // 最高成交率 "goods_name": "奔驰", "goods_picture": 183, "start_time": 1572256890, // 开始时间 "end_time": 1572602492, // 结束时间 "decimal_reservation_number": -1, "picture_info": { "pic_cover": "upload/goods/20191023/fd5c1f9498954be7fa3baad8c0789d96.jpg" }, "price": "121.00", "stock": 0, "status_name": "进行中" }, // 竞拍出价数组 "action_records_list": [ { "id": 16, "uid": "1", "shop_id": 0, "action_id": 12, "goods_id": 25, "offer_price": "170.00", // 出价 "add_price": "10.00", "status": 2, // 0.已出价|| 出局 1.成功 2.失败 3.最高价 "remark": "", "nick_name": "admin", // 会员名称 "add_time": 1572421955, // 出价时间 "status_name": "失败" } ], "car_goods_price": 0, // 属性数组 "attribute_arr": [ { "attr_id": 1, "attr_name": "车辆配置", //属性分组名 "is_use": 1, "spec_id_array": "", "sort": 0, "create_time": 1572426453, "modify_time": 0, "brand_id_array": "", "attribute_list": [ { "attr_id": 47, "goods_id": 28, "shop_id": 0, "attr_value_id": 1, "attr_value": "驱动", // 属性名称 "attr_value_name": "1", // 属性值 "sort": 0 }, { "attr_id": 48, "goods_id": 28, "shop_id": 0, "attr_value_id": 2, "attr_value": "发动机", "attr_value_name": "11", "sort": 1 }, { "attr_id": 49, "goods_id": 28, "shop_id": 0, "attr_value_id": 3, "attr_value": "轮胎", "attr_value_name": "1", "sort": 2 }, { "attr_id": 50, "goods_id": 28, "shop_id": 0, "attr_value_id": 4, "attr_value": "方向盘", "attr_value_name": "3123", "sort": 3 } ] }, { "attr_id": 2, "attr_name": "货箱参数", "is_use": 1, "spec_id_array": "", "sort": 0, "create_time": 1573199373, "modify_time": 0, "brand_id_array": "", "attribute_list": [ { "attr_id": 46, "goods_id": 28, "shop_id": 0, "attr_value_id": 5, "attr_value": "货箱形式", "attr_value_name": "12312", "sort": 1 } ] }, "shop_name": null, "goods_coupon_list": [], "click_detail": null, "is_member_fav_goods": 1, 0.未收藏 1.收藏 "cart_count": 0, "offer_person_count" : 0, // 出价人数 "promotion_notice_count" : 0, //提醒人数 "action_bail_money" : 0.00, //竞拍保证金 "is_remind" :0, // 0.未设置消息提醒 1.设置消息提醒 "current_time": 1572598636000, "refuse_desc" : '拒绝原因' }, "title": "获取商品详情" } ```