3.1.2获取用户列表

优质
小牛编辑
126浏览
2023-12-01
本接口用于获取门店用户列表

请求参数说明

参数描述必填示例值类型最大长度
action接口参数组object
└action需要调用的接口名称sys_getUserListstring
getGET参数组,本组参数需要参与签名object
└last_sort_id分页字段(取最后一条数据中的last_sort_id),默认00number
└page_size每页数量(默认20条,最大50条)20number
└aid获取指定编号id的用户28737number

请求示例

{
    "action": {
        "action": "sys_getUserList"
    },
    "get": {
        "last_sort_id": 0,
        "page_size": 20,
        "aid": 28737
    }
}

响应参数说明

参数描述必填示例值类型最大长度
status接口成功时为1,出错为01number
info错误时会返回相应的错误信息okstring
count72number
listlist
└id44589number
└name柠檬string
└emailningmeng@gpcsstring
└user_nameningmengstring
└phone123456678number
└time2018-05-11 14:48:07string
└mcid4124number
└msid6786number
└lgj_status1number
└gzh_status0number
└ms_name果盘测试门店string
└remarkstring
└lgj_qrhttps://u.dc78.cn/u_BybP3string
└last_sort_id44589number
msid6786number

响应示例

{
    "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"
}