3.1.5获取用户列表

优质
小牛编辑
124浏览
2023-12-01

请求参数说明

参数描述必填示例值类型最大长度
action接口参数组object
└action需要调用的接口名称sys_getUserListstring
postPOST参数组object
└aid用户编号string
└name用户名称1number
└msid门店编号 (默认:全部门店账号+后台账号)1235number
└phone手机号码123456number
└last_sort_id分页字段(取最后一条数据中的last_sort_id),默认0string
└page_size每页数量(默认20条,最大50条)number

请求示例

{
	"action": {
		"action": "sys_getUserList"
	},
	"post": {
		"aid": "",
		"name": "1",
		"msid": "1235",
		"phone": "123456",
		"last_sort_id": "雪碧",
		"page_size": "123456789"
	}
}

响应参数说明

参数描述必填示例值类型最大长度
status返回状态。接口成功时为1,出错为01number
info错误时会返回相应的错误信息okstring
count145number
listlist
└id用户id79969number
└name用户名称雪碧string
└email邮箱11432@gpcsstring
└user_name登录名11432number
└phone手机号码123456789number
└time2019-09-16 15:02:12string
└mcid4124number
└msid0number
└lgj_status0number
└gzh_status0number
└ms_name后台string
└remark备注测试


string
└lgj_qr用户二维码https://u.dc78.cn/u_Dh3u0string
└last_sort_id用户id79969number
msid10021number

响应示例

{
  "status": "1",
  "info": "ok",
  "count": "145",
  "list": [
    {
      "id": "79969",
      "name": "雪碧",
      "email": "11432@gpcs",
      "user_name": "11432",
      "phone": "123456789",
      "time": "2019-09-16 15:02:12",
      "mcid": "4124",
      "msid": "0",
      "lgj_status": 0,
      "gzh_status": 0,
      "ms_name": "后台",
      "remark": "测试


", "lgj_qr": "https:\/\/u.dc78.cn\/u_Dh3u0", "last_sort_id": "79969" } ], "server_timestamp": 1568706067, "server_time": "2019-09-17 15:41:07", "server_name": "api-88.hz", "msid": "10021" }