接口地址
[接口服务器地址]/api/users/search.html
Request Headers
名称 |
必选 |
类型 |
说明 |
Content-Type |
true |
string |
application/json; charset=UTF-8 |
authen |
true |
string |
认证码 什么是认证码
|
appid |
true |
string |
接入ID 什么是接入ID
|
timestamp |
true |
string |
时间戳
|
uid |
true |
string |
当前帐号
|
lang |
true |
string |
语言 zh-cn,en-us
|
Request Body
名称 |
必选 |
类型 |
说明 |
key |
true |
string |
搜索关键词 目前支持:用户名|手机号|用户简拼模糊搜索 |
org_id |
false |
string |
组织ID 搜索指定组织下的人员,多企业以逗号分隔,如org_id1,org_id2 |
返回结果(成功)
{"status":1,"code":0,"msg":"","data":{"count":2,"page":1,"page_size":20,"list":[{"gid":"8db6d398262411eab5d588d7f697be9a","account":"ceshi001","name":"测试001","avatar":"","mobile":"","orgs":[{"org_id":"1266ff30ebee11e9a44288d7f697be9a","org_name":"测试企业","dept_id":"6473a43e262411eab18988d7f697be9a","dept_name":"测试部"}]},{"gid":"93ecb642262411eaa6ff88d7f697be9a","account":"ceshi003","name":"测试003","avatar":"","mobile":"","orgs":""}]}}