💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/message/questions` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string|用户uid|-| |classid|是|string|班级id|-| |p|否|string|当前页码|-| |num|否|string|每页显示的条数|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "count": "11", "totalPages": 2, "totalRows": "11", "nowPage": 1, "data": [ { "id": "1003143980080089689", "pid": "0", "reply_uid": "1002143805252067275", "reply_time": "1439800800", "reply_content": "老师,你好。", "to_uid": "1002143804530011298", "reply_bjid": "1002143804531558767", "hfrxm": "学生一", "kcid": "1003143978874397265", "img": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg", "realname": "", "fmt_time": "2015-08-17 16:40", "kmmc": null, "data": [ { "id": "1003143980082771354", "pid": "1003143980080089689", "reply_uid": "1002143804530011298", "reply_time": "1439800827", "reply_content": "很好很好", "to_uid": "1002143805252067275", "hfrxm": "好老师", "fmt_time": "2015-08-17 16:40" }, { "id": "1003143980086935701", "pid": "1003143980080089689", "reply_uid": "1002143805252067275", "reply_time": "1439800869", "reply_content": "111", "to_uid": "1002143804530011298", "hfrxm": "学生一", "fmt_time": "2015-08-17 16:41" }, { "id": "1003143980129818475", "pid": "1003143980080089689", "reply_uid": "1002143805252067275", "reply_time": "1439801298", "reply_content": "222", "to_uid": "1002143804530011298", "hfrxm": "学生一", "fmt_time": "2015-08-17 16:48" } ] }, ...... ] } ``` - error ```json { "msg": "参数错误或者未定义", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-24 16:30:21 * * * * *