文档
测试

获取客户列表

POST
http://192.168.0.115:8001/api/customer/list

请求参数

参数名
类型
描述
必填
id
long
筛选参数id
可选
name
String
筛选参数 用户名
可选
sex
int
性别 0男 1女
可选
maritalStatus
int
婚姻情况:0未婚,1离异,2丧偶
可选
phone
String
手机号
可选
income
Double
收入
可选
page
int
当前页码
可选
limit
int
每页的记录数
可选

返回示例

{ "msg": "success", "code": 0, "page": { "totalCount": 1, "pageSize": 10, "totalPage": 1, "currPage": 1, "list": [ { "id": 1, "name": "张三", "sex": 0, "headPhoto": "a.jpg", "height": 172, "phone": "13000000000", "age": 33, "maritalStatus": 0, "income": 100000.0, "education": "本科", "children": "无", "housing": "无", "idNumber": "511925658458", "vehicle": "奔驰", "mateSelectionRequirements": "0", "mateSelectionHeight": 165, "mateSelectionIncome": 100000.0, "mateSelectionEducation": "本科", "companyName": "美团", "birthday": "1994年2月", "startServiceTime": "2021-07-07 18:00:37", "endServiceTime": "2021-07-07 18:00:40", "cost": "2000.0", "mateSelectionAge": null, "mateSelectionCondition": "无", "username":"张三", "createTime": "2021-07-07 08:25:44", "updateTime": "2021-07-07 08:25:48" } ] } }