ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 车辆列表 ~~~[api] post:/base/vehicle/add *state#车辆状态 1:空车,2:在途 *number#车牌号码 *ETC#ETC *rent#是否租凭 1:是 0:否 *rent_source#租凭来源 fleet_id#车队id *driver_id#默认司机id(数组) *mobile#默认司机手机号码(数组) *CDKEY#车辆识别码 *engine#发动机号 *volume#油箱容积 *brand#品牌 *brand_model#品牌型号 *type#车辆分类:1:吨车;2:拖车 *style#车型 *style_model#车辆类型 *trailer_id#挂车id(车型选择拖车后必填) *size_long#车身长 *size_width#车身宽 *size_height#车身高 buy_time#购买时间 produce_time#出厂时间 remark#备注 *color#吨车颜色 *axle#吨车车轴数 *quality#整装质量 *quality_all#车辆总质量 *coefficient#吨车里程数标准系数 *KM_oil#吨车空公里油耗标准 *summer_oil#吨车夏季油耗标准 *winter_oil#吨车冬季油耗标准 *stopwatch#吨车当前码表里程 *maintenance#吨车保养里程 *KN#牵引力(车型选择拖头后填写) *relation#是否关联挂车(车型选择拖头后填写,0:未关联;1:关联) *kg#核载(车型选择吨车后填写) *cabin_volume#仓容量(数组,车型选择吨车后填写) *cabin_goods_type#仓油品(数组,车型选择吨车后填写) *cabin_count#分仓数量(车型选择吨车后填写) <<< success { "code":"0", "msg":"success", “data”:{"code":0,"msg":"获取成功","count":20,"data":\[{"id":75,"state":1,"number":"aaaaaaaaa","ETC":"444","rent":"1","rent\_source":"555","driver\_id":2,"mobile":"3333","CDKEY":"333","engine":"111","volume":"333","brand\_id":11212,"type":"2","relation":1,"trailer\_id":5,"tons\_id":7,"produce\_time":null,"status":1,"remark":null,"create\_time":"2021-10-13 11:02:05","update\_time":"2021-10-13 16:03:22","trailer":{"id":5,"fleet\_id":0,"vehicle\_id":75,"number":"1111","relation":1,"brand":"","style":"2","CDKEY":"","size":"1121sad","axle":2,"quality":"3","kg":"2","cabin":\["2","2"\],"cabin\_count":2,"produce\_time":null,"buy\_time":null,"status":1,"create\_time":"2021-10-09 16:22:06","update\_time":"2021-10-13 16:00:45"},"vehicle\_tons":{"id":5,"vehicle\_id":73,"color":"333","size":"222","axle":444,"quality":"555","quality\_all":"666","coefficient":"777","KM\_oil":"888","summer\_oil":"999","winter\_oil":"1111","stopwatch":"1212","maintenance":"aaa","create\_time":"2021-10-12 11:40:26"}}, } <<< error { "code":"-1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | id| 车辆id|