多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/homework/stuQuestionesbyzyid` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |zyid|是|string|作业id|-| |p|否|string|页码|1| |num|否|string|每页显示的条数|10| **返回示例** - success ```json { "ret": 0, "msg": "ok", "list": [ { "id": "4", "content": "测试题提问", "video_list": "", "audio_list": "", "image_list": "", "zyid": "1033146847636090341", "from_uid": "1034145308280422919", "to_uid": "1033145308280422915", "createtime": "1468832622", "status": "1", "classid": "323243", "from_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "to_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" }, "children": [ { "question_id": "4", "from_uid": "1033145308280422915", "id": "44", "content": "回答2", "video_list": "", "image_list": "", "audio_list": "", "parent": "0", "createtime": "2016-07-18 18:05:31", "to_uid": "1034145308280422919", "to_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "from_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" } }, { "question_id": "4", "from_uid": "1033145308280422915", "id": "47", "content": "我想我不够好", "video_list": "", "image_list": "", "audio_list": "", "parent": "0", "createtime": "2016-08-01 08:51:01", "to_uid": "1034145308280422919", "to_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "from_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" } }, { "question_id": "4", "from_uid": "1033145308280422915", "id": "48", "content": "我想我不够好", "video_list": "", "image_list": "", "audio_list": "", "parent": "0", "createtime": "2016-08-01 08:52:53", "to_uid": "1034145308280422919", "to_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "from_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" } }, { "question_id": "4", "from_uid": "1033145308280422915", "id": "49", "content": "把眼泪掉", "video_list": "", "image_list": "", "audio_list": "", "parent": "0", "createtime": "2016-08-01 08:58:18", "to_uid": "1034145308280422919", "to_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "from_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" } }, { "question_id": "4", "from_uid": "1033145308280422915", "id": "50", "content": "微信", "video_list": "", "image_list": "", "audio_list": "", "parent": "0", "createtime": "2016-08-01 09:08:56", "to_uid": "1034145308280422919", "to_userinfo": { "realname": "德盛基金", "identitytype": "3", "face": "http://www.12xuedev.com/Common/images/face/big/noreg_0.jpg", "xxmc": "思而学校21", "rank": "V0" }, "from_userinfo": { "realname": "青州二中", "identitytype": "2", "face": "http://res-qiniu.12xue.com/avatar/1033145308280422915/big.jpg?v=1470116966", "xxmc": "思而学校21", "rank": "V1" } } ] } ], "totle": 2, "totlepage": 1, "pagesize": 10, "current": 1 } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-08-17 10:30:10 * * * * *