多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 车辆车型列表 ~~~[api] get:/base/vehicle/style type#车辆分类:1:普通车辆;2:挂车 style#车辆车型 <<< success { "code":"0", "msg":"success", “data”:\\[{"id":2,"type":1,"style":2,"name":"顿车","model":{"0":"Q8"},"driver\_type\_id":{"0":"1"},"create\_time":"2021-11-12 17:57:57","update\_time":"2021-11-12 18:02:24"},{"id":1,"type":1,"style":1,"name":"拖头","model":null,"driver\_type\_id":null,"create\_time":"2021-11-12 17:57:57","update\_time":"2021-11-12 17:57:57"}\], } <<< error { "code":"-1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | data| 信息列表| | data.id| 车辆车型id| | data.type| 车辆分类:1:普通车辆;2:挂车| | data.style|车辆车型id| | data.name| 车型名称| | data.model| 车辆类型(数组)| | data.driver_type_id| 司机人员类型id(数组)| | data.create_time| 创建时间| | data.update_time| 修改时间|