文档
测试

新增客户

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

请求参数

参数名
类型
描述
必填
name
String
姓名
必填
sex
int
性别
必填
headPhoto
String
头像
必填
height
int
身高
必填
phone
String
电话号码
必填
age
int
年龄
必填
maritalStatus
int
婚姻情况:0未婚,1离异,2丧偶
必填
income
double
收入
必填
education
String
学历
必填
children
String
子女
必填
housing
String
住房条件
必填
idNumber
String
身份证号
必填
vehicle
String
交通工具
必填
mateSelectionRequirements
int
择偶婚姻情况:0未婚,1离异,2丧偶
必填
mateSelectionHeight
int
择偶:身高(cm)
必填
mateSelectionIncome
double
择偶:收入
必填
mateSelectionEducation
String
择偶:学历
必填
mateSelectionCondition
String
择偶:对方条件
必填
userId
String
客户负责人id
必填
createTime
date
创建时间
必填
updateTime
date
更新时间
必填
mateSelectionAge
String
择偶要求-年龄
必填
companyName
String
工作单位
必填
birthday
String
出生年月
必填
startServiceTime
date
服务结束时间
必填
endServiceTime
date
服务开始时间
必填
cost
double
费用
必填
mateSelectionCondition
String
择偶:对方条件
必填
status
int
客户状态:1待联系,2未接,3跟进,4意向,5到店,6成单,7无效
必填

参数

{ "name": "张三", "sex": 0, "headPhoto": "a.jpg", "height": 172, "phone": "13000000000", "age": 33, "maritalStatus": 0, "income": 100000.0, "education": "本科", "children": "无", "housing": "无", "idNumber": "511925658458", "vehicle": "奔驰", "status":0 "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": "无", "userId": 1, }

返回示例

{ "msg": "success", "code": 0, }