ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/notify/userlist` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |classid|是|string|班级id|-| |identitytype|是|string| 3 学生 4家长|-| |groupcode|是|string|每次通知消息的唯一码|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": { "unread": [ { "uid": "1000145286031341267", "userinfo": { "realname": "刘春强", "identitytype": "2", "face": "http://www.12xuedev.com/Common/images/face/big/online_teacher_1.jpg", "xxmc": "坊子区宁远中学", "rank": "V0", "gxqm": null } }, { "uid": "1033145308280423066", "userinfo": { "realname": "赛世涛", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "坊子区宁远中学", "rank": "V0", "gxqm": null } } ], "read": [ { "uid": "1034145308280422919", "userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/online_student_s_1.jpg", "xxmc": "坊子区宁远中学", "rank": "V0", "gxqm": "" } } ] } } ``` - error ```json { "ret": -1, "msg": "参数错误", } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-17 11:32:46 * * * * *