文档
测试

获取客户资料列表

GET
http://test.52miaosuan.com:8090/miaosuan/customer/data/list?customer_id=1

接口描述

获取客户资料列表

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
customer_id
int
客户编号
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
item_list
array
数据列表
必填
dataItemVOS
array
资料列表
必填
id
int
资料ID,示例:2
必填
name
string
资料名称,示例:测试资料名称
必填
description
string
资料备注
必填
fileUrls
array
数据列表
必填
file_name
string
文件名称
必填
file_url
string
文件url
必填
customer_id
int
客户ID
必填
create_time
string
添加时间,示例:22:47
必填
creator_name
string
添加人,示例:张新和
必填
create_date
string
资料日期,示例:2021-05-31
必填
total_num
int
示例:1
必填

说明 / 示例

返回响应: ```json { "code": 0, "msg": "成功", "data": { "item_list": [ { "dataItemVOS": [ { "id": 2, "name": "测试资料名称", "description": "资料备注", "fileUrls": [ { "file_name": "xxx.png", "file_url": "http://xxxx", "file_id": 1 } ], "attachmentUrls": [ { "file_name": "xxx.png", "file_url": "http://xxxx", "file_id": 1 } ], "customer_id": 1, "create_time": "22:47", "creator_name": "张新和" }, { "id": 1, "name": "测试资料名称1233", "description": "资料备注12333", "fileUrls": [], "attachmentUrls": [], "customer_id": 1, "create_time": "22:39", "creator_name": "张新和" } ], "create_date": "2021-05-31" } ], "total_num": 1 } } ```