ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/teacher/questions` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string|用户uid|-| |classid|是|string|班级id|-| |num|是|string|每页显示的条数|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "totalPages": 1, "subdata": [ { "id": "1002143807043317219", "pid": "0", "reply_uid": "1002143805347170578", "reply_time": "1438070433", "reply_content": "gggggggggg", "to_uid": "1002143805304624363", "reply_bjid": "1002143805309545994", "hfrxm": "樊贞暖", "kcid": "1002143806963087521", "img": "http://www.12xuedev.com/Common/images/face/middle/online_student_m_0.jpg", "realname": "樊贞暖", "fmt_time": "2015-07-28 16:00", "kmmc": "化学", "data": [ { "id": "1002143807293733767", "pid": "1002143807043317219", "reply_uid": "1002143805304624363", "reply_time": "1438072937", "reply_content": "111111111111111", "to_uid": "1002143805347170578", "hfrxm": "唐坤菁", "fmt_time": "2015-07-28 16:42" }, { "id": "1002143807711030404", "pid": "1002143807043317219", "reply_uid": "1002143805347170578", "reply_time": "1438077110", "reply_content": "学生回复老师的", "to_uid": "1002143805304624363", "hfrxm": "樊贞暖", "fmt_time": "2015-07-28 17:51" } ] }, { "id": "1002143807007563971", "pid": "0", "reply_uid": "1002143805347170578", "reply_time": "1438070075", "reply_content": "qqqqqqqqwe", "to_uid": "1002143805304624363", "reply_bjid": "1002143805309545994", "hfrxm": "樊贞暖", "kcid": "1002143806963087521", "img": "http://www.12xuedev.com/Common/images/face/middle/online_student_m_0.jpg", "realname": "樊贞暖", "fmt_time": "2015-07-28 15:54", "kmmc": "化学", "data": [] }, { "id": "1002143807006036961", "pid": "0", "reply_uid": "1002143805347170578", "reply_time": "1438070060", "reply_content": "q", "to_uid": "1002143805304624363", "reply_bjid": "1002143805309545994", "hfrxm": "樊贞暖", "kcid": "1002143806963087521", "img": "http://www.12xuedev.com/Common/images/face/middle/online_student_m_0.jpg", "realname": "樊贞暖", "fmt_time": "2015-07-28 15:54", "kmmc": "化学", "data": [ { "id": "1002143807313069366", "pid": "1002143807006036961", "reply_uid": "1002143805304624363", "reply_time": "1438073130", "reply_content": "222222222", "to_uid": "1002143805347170578", "hfrxm": "唐坤菁", "fmt_time": "2015-07-28 16:45" } ] } ] } ``` - error ```json { "msg": "参数错误或者未定义", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-24 17:40:30 * * * * *