🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 挂车列表 ~~~[api] get:/base/trailer id#挂车id style#挂车类型;3:挂车 fleet_id#车队id relation#车辆状态0:未关联;1:已关联 number#挂车编号 cabin_count#分仓数量 <<< success { "code":"0", "msg":"success", “data”:{"code":0,"msg":"获取成功","count":6,"data":\[{"id":7,"vehicle\_id":0,"number":"1111","relation":0,"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-11 17:49:29","update\_time":"2021-10-11 17:49:29"}, } <<< error { "code":"-1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | data| 信息列表| | data.id| 挂车id| | data.fleet_id| 车队id| | data.vehicle_id| 关联拖车id| | data.number| 挂车编号| | data.relation| 车辆状态0:未关联;1:已关联| | data.brand| 品牌| | data.brand_model|品牌型号 | | data.style| 挂车类型| | data.style_model| 挂车车辆类型| | data.CDKEY| 车辆识别号| | data.size| 车身尺寸| | data.size.long| 车身长| | data.size.width| 车身宽| | data.size.height| 车身高| | data.axle| 车轴数| | data.quality|挂车整装质量 | | data.quality_all|挂车总质量| | data.kg|核载| | data.cabin|仓容量 | | data.cabin_count| 分仓数| | data.produce_time|出厂时间 | | data.buy_time|购买时间 | | data.status|状态 | | data.update_time|修改时间 | | data.create_time| 时间|