ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/dynamic/searchuser` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |p|否|string|default 0|-| |key|是|string|用户输入的key|-| |searchtype|否|string|默认follw school 学校 all 所有|-| |num|否|string|default 10|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "total": 3, "totalpage": 2, "current": "1", "list": [ { "uid": "1033145308280423091", "identitytype": "2", "username": "tsls001", "realname": "任天一", "rank": "V0", "face": "http://www.12xuedev.com/Common/images/face/middle/online_teacher_0.jpg" }, { "uid": "1033145308280423207", "identitytype": "3", "username": "zhentest01", "realname": "zhuzhen", "rank": "V0", "face": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg" } ] } ``` - error ```json { "ret": -1, "msg": "操作失败" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-09 09:51:43 * * * * *