3.1.2获取用户列表
优质
小牛编辑
127浏览
2023-12-01
本接口用于获取门店用户列表
请求参数说明
参数 | 描述 | 必填 | 示例值 | 类型 | 最大长度 |
action | 接口参数组 | 是 | object | ||
└action | 需要调用的接口名称 | 是 | sys_getUserList | string | |
get | GET参数组,本组参数需要参与签名 | 是 | object | ||
└last_sort_id | 分页字段(取最后一条数据中的last_sort_id),默认0 | 否 | 0 | number | |
└page_size | 每页数量(默认20条,最大50条) | 否 | 20 | number | |
└aid | 获取指定编号id的用户 | 否 | 28737 | number |
请求示例
{ "action": { "action": "sys_getUserList" }, "get": { "last_sort_id": 0, "page_size": 20, "aid": 28737 } }
响应参数说明
参数 | 描述 | 必填 | 示例值 | 类型 | 最大长度 |
status | 接口成功时为1,出错为0 | 是 | 1 | number | |
info | 错误时会返回相应的错误信息 | 是 | ok | string | |
count | 否 | 72 | number | ||
list | 否 | list | |||
└id | 否 | 44589 | number | ||
└name | 否 | 柠檬 | string | ||
否 | ningmeng@gpcs | string | |||
└user_name | 否 | ningmeng | string | ||
└phone | 否 | 123456678 | number | ||
└time | 否 | 2018-05-11 14:48:07 | string | ||
└mcid | 否 | 4124 | number | ||
└msid | 否 | 6786 | number | ||
└lgj_status | 否 | 1 | number | ||
└gzh_status | 否 | 0 | number | ||
└ms_name | 否 | 果盘测试门店 | string | ||
└remark | 否 | string | |||
└lgj_qr | 否 | https://u.dc78.cn/u_BybP3 | string | ||
└last_sort_id | 否 | 44589 | number | ||
msid | 否 | 6786 | number |
响应示例
{ "status": "1", "info": "ok", "count": "72", "list": [ { "id": "44589", "name": "柠檬", "email": "ningmeng@gpcs", "user_name": "ningmeng", "phone": "123456678", "time": "2018-05-11 14:48:07", "mcid": "4124", "msid": "6786", "lgj_status": "1", "gzh_status": "0", "ms_name": "果盘测试门店", "remark": "", "lgj_qr": "https://u.dc78.cn/u_BybP3", "last_sort_id": "44589" }, { "id": "40330", "name": "yezi2", "email": "yezi2@gpcs", "user_name": "yezi", "phone": "1234567890", "time": "2018-03-29 09:43:14", "mcid": "4124", "msid": "6786", "lgj_status": "1", "gzh_status": "0", "ms_name": "果盘测试门店", "remark": "", "lgj_qr": "https://u.dc78.cn/u_BybP3", "last_sort_id": "40330" }, { "id": "40240", "name": "xigua", "email": "xigua@gpcs", "user_name": "xigua", "phone": "18862302465", "time": "2018-03-27 18:54:01", "mcid": "4124", "msid": "", "ms_name": "后台", "lgj_qr": "https://u.dc78.cn/u_BybP3", "remark": "", "last_sort_id": "40240" } ], "server_timestamp": 1531209285, "server_time": "2018-07-10 15:54:45", "server_name": "wx-task2.hz", "msid": "6786" }