🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 证件修改 ~~~[api] post:/personnel/certificate/edit id#证件id fleet_id#车队id *bind_id#绑定id *style#证件分类 1:车辆证照;2:挂车证照;3:司机证照 *driver_id#分类为司机,必填司机id *certificate_type_id#证件类型id certificate#证件名 *number#证件编号 *visa_time#发证日期 *audit_time#审核日期 expire#过期时间 warn#预警设置 files#附件(数组格式) status#是否启用 <<< success { "code":"0", "msg":"success", “data”:\[{"id":3,"fleet\_id":3,"style":1,"certificate\_type\_id":8,"certificate":"2","number":"111","files":null,"visa\_time":"2021-10-10 00:00:00","audit\_time":"2021-10-10 00:00:00","expire":null,"warn":7,"status":1,"create\_time":"2021-11-04 15:03:09","update\_time":"2021-11-04 15:03:09","delete\_time":null}, } <<< error { "code":"1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 |