💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/message/asks` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |kcid|是|bigint|课程id|-| |identitytype|否|int|当前用户身份类型 2:老师 3:学生 默认:3|3| |classid|否|bigint|班级id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "id": "1002143807130720982", "pid": "0", "reply_uid": "1002143804858841818", "reply_time": "2015-07-28 16:15", "reply_content": "我再次提交一个问题", "kcid": "1002143806990393810", "is_reply": "1", "reply_bjid": "1002143804819882940", "hfrxm": "张丽", "to_uid": "1002143805018361155", "kcmc": null, "data": [ { "id": "1002143807181873615", "pid": "1002143807130720982", "reply_uid": "1002143805018361155", "reply_time": "2015-07-28 16:23", "reply_content": "我是老师,我对这个问题做出回复", "kcid": "1002143806990393810", "is_reply": "1", "reply_bjid": "1002143804819882940", "hfrxm": "林琴", "to_uid": "1002143804858841818", "to_uname": "佚名", "face": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg", "face_md5": "555fb013cdfe604f6b4485f0d12618c0" }, { "id": "1002143807183515736", "pid": "1002143807130720982", "reply_uid": "1002143805018361155", "reply_time": "2015-07-28 16:23", "reply_content": "我对此问题做第二次回复", "kcid": "1002143806990393810", "is_reply": "1", "reply_bjid": "1002143804819882940", "hfrxm": "林琴", "to_uid": "1002143804858841818", "to_uname": "佚名", "face": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg", "face_md5": "555fb013cdfe604f6b4485f0d12618c0" }, ...... ], "face": "http://www.12xuedev.com/Common/images/face/middle/noreg_0.jpg", "face_md5": "555fb013cdfe604f6b4485f0d12618c0" }, ...... ] } ``` - error ```json { "msg": "参数错误或者未定义", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-24 15:07:48 * * * * *