🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 获取客户列表 ~~~[api] get:/dispatch/client id#客户id fleet_id#车队id sales#业务员 keywords#客户搜索(姓名、电话) <<< success { "code":"0", "msg":"success", “data”:{"code":0,"msg":"获取成功","count":2,"data":\[{"id":4,"fleet\_id":0,"name":"1111","type\_name":"2","freight":"","contacts":"333","mobile":"13118856099","sales":"444","address":"555","status":1,"create\_time":"2021-10-18 13:57:10","update\_time":"2021-10-18 13:57:10","delete\_time":null} } <<< error { "code":"1", "msg":"error", } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | code | 返回判断:0:成功;其他:失败 | | msg| 返回信息说明 | | data| 信息列表| | data.id| 通知id| | data.fleet_id| 车队id| | data.name|客户名| | data.type_name| 客户分类名| | data.freight| 代收运费| | data.mobile| 手机| | data.contacts| 客户联系人| | data.sales| 业务员| | data.address| 客户地址| | data.status| 是否启用:1:是;0:否| | data.update_time| 修改时间| | data.create_time| 创建时间| | data.delete_time| 删除时间|