文档
测试
POST
/api/customer/export

请求参数

参数名
类型
描述
必填
head
string
需要导出的字段名 数组
必填
id
string
示例:id
必填
name
string
示例:name
必填
sex
string
示例:sex
必填
headPhoto
string
示例:headPhoto
必填
height
string
示例:height
必填
phone
string
示例:phone
必填
age
string
示例:age
必填
maritalStatus
string
示例:maritalStatus
必填
income
string
示例:income
必填
education
string
示例:education
必填
username
string
示例:username
必填
customerVos
List<CustomerFormatterVo> customerVos
选中的行的数据
必填
id
string
示例:1
必填
name
string
姓名 示例:5689
必填
sex
string
性别 示例:张三
必填
headPhoto
string
头像 示例:a.jpg
必填
height
string
身高 示例:168
必填
phone
string
电话 示例:1300000000
必填
age
string
年龄 示例:0
必填
maritalStatus
string
婚姻情况:0未婚,1离异,2丧偶 示例:169
必填
income
string
收入 示例:00
必填
education
string
学历 示例:大专
必填
username
string
客户负责人 示例:张三
必填

请求示例

{ "head":[id,code,name......] "intentionVos":[ { "id":1, "name":"admin", "headPhoto":"a.jpg", "sex":"xxxxx", "phone":"13000000000", "height":"168", "age":"15", "income":800, "education":"大专", "maritalStatus":0 "username": "张三" } ] }

说明 / 示例

{ "msg": "success", "code": 0, "data": "http://192.168.0.115:8001/static/export/操作记录表.xls" }