文档
测试

客户首页

POST
http://xhf.qmbzch.cn/api/customer/customer_index

请求参数

参数名
类型
描述
必填
page
int
页码
必填
page_size
int
分页大小
必填

响应参数

参数名
类型
描述
必填
state
string
示例:fail
必填
message
string
示例:查询成功
必填
data
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:测试
必填
abbreviation
string
示例:测试简称
必填
code
string
示例:202020
必填
contacts
string
示例:罗
必填
tel
string
示例:15708482824
必填
address
string
示例:玖熙广场三期一栋
必填
qualifications_img
string
示例:
必填
remarks
string
示例:备注信息
必填
state
int
示例:1
必填

说明 / 示例

{ "state": "ok", "message": "查询成功", "data": { "currPage": 1, "pageSize": 10, "totalPage": 1, "totalCount": 1, "list": [ { "customerId": 1,//客户id "customerName": "客户1",//客户全称 "abbreviation": "客户1",//客户简称 "code": "123456",//客户编码 "contacts": "王先生",/该客户联系人 "tel": "13689650044",//该客户联系人手机号码 "address": "成都****店1号",//客户地址 "remarks": "备注",//备注 "state": 1,//状态 1启用 0停用 "qualificationsImg": "/app/upload/20200824/****.jpg",//资质图片 "store": [//该客户下的门店列表 所有门店 { "storeId": 1,//门店id "storeName": "门店1",//门店名称 "storeCode": null,//门店编码 "storeDistributionAreaGroupId": 1,//门店配送分组id "address": "成都*****1楼1号", "contacts": "王先生", "tel": "13689650044", "remarks": "备注", "state": 1, //状态 1启用 0停用 "dagName": "片区1分组1"//配送分组名称 } ] } ] } }