[TOC]
## 获取客户列表
~~~[api]
post:/customer/list
<<<
请求内容(搜索用)
{
"version_id": 0,// 0-全部
"page": 1,
"limit" : 100,
}
<<<
返回结果
{
"code": 0,
"info": "success",
"data": {
"count": 1000,//全部总数
"list": // 版本分类
[
{
"id": 1000, // ID
"shop": "结网" , // 名称
"shop_count": 3 , // 门店数量
"start_date": "2018-05-20" , //
"end_date": "2018-10-20" , //
version":{
"id": 1002,
"create_time": "1970-01-01 08:00:00",
"version_type": 1001,
"version_kind": 1000,
"title": "1.0.0",
"state": 0,
"status": 0,
"remark": null
},
"version_web":{
"id": 1003,
"create_time": "1970-01-01 08:00:00",
"version_type": 1001,
"version_kind": 1001,
"title": "1.0.0",
"state": 0,
"status": 0,
"remark": null
},
"maintain": 1, //稳定版
}
]
}
}
~~~
## 获取操作更新日志
~~~[api]
post:/customer/log
<<<
请求内容
{
"page": 1,
"limit" : 100,
}
<<<
返回结果
{
"code": 0,
"info": "success",
"data": [{
"id": 3,
"remark": "结网 改名为 小算盘",
"create_time": "1970-01-01 08:00:00",
},{
"id": 3,
"remark": "小算盘 改名为 结网 ",
"create_time": "1970-01-01 08:00:00",
}]
}
~~~