ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/student/teachers` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string|用户uid|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "uid": "1000145286031341268", "username": "lcq001", "realname": "刘春强", "email": null, "telephone": "15963590680", "sex": "0", "identitytype": "2", "is_audit": "1", "is_active": "1", "is_init": "1", "origin": "1", // 用户来源(0:导入的、1:邀请码的、2:开放注册的) "certificate": "0", //教师审核状态(0:未上传、2:已通过、-1:未通过、1待审核) "create_time": "1452860313", "update_time": "1452860313", "status": "0", "birthday": null, "terminal": "电脑终端", "invite_code": "", "familyid": null, "gxqm": null, "jtzz": null, "big_face_md5": null, "middle_face_md5": null, "small_face_md5": null, "openim": null, "face": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg", "face_md5": null }, { "uid": "1002143804520595993", "username": "TC1_王老师", "realname": "王老师", "email": null, "telephone": null, "sex": "0", "identitytype": "2", "is_audit": "1", "is_active": "1", "is_init": "1", "origin": "1", // 用户来源(0:导入的、1:邀请码的、2:开放注册的) "certificate": "0", //教师审核状态(0:未上传、2:已通过、-1:未通过、1待审核) "create_time": null, "update_time": null, "status": "0", "birthday": null, "terminal": null, "invite_code": null, "familyid": null, "gxqm": null, "jtzz": null, "big_face_md5": null, "middle_face_md5": null, "small_face_md5": null, "openim": null, "face": "http://ftp.12xuedev.com/avatar/1002143804520595993/middle.jpg", "face_md5": null }, ...... ] } ``` - error ```json { "ret": -1, "msg": "参数错误", } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| |origin|int|用户来源(0:导入的、1:邀请码的、2:开放注册的)| |certificate|int|教师审核状态(0:未上传、2:已通过、-1:未通过、1待审核)| |origin|int|用户来源(0:导入的、1:邀请码的、2:开放注册的)| |certificate|int|教师审核状态(0:未上传、2:已通过、-1:未通过、1待审核)| --: 该接口最后修订时间:2016-02-29 12:54:11 * * * * *