企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/activity/homework` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |type|否|string|获取所有统计时传all|all| |time|否|string|查询时间|默认上一周数据| |xkid|否|string|查询学科|1071| **返回示例** - success ```json { "ret": 1, "msg": "获取成功~", "data": { "xkid": 1071, "subjectlist": [ { "name": "语文", "id": "1071" }, { "name": "数学", "id": "2099" }, { "name": "英语", "id": "2887" } ], "timelist": [ { "name": "7.16-7.22", "value": "1532275199" }, { "name": "7.23-7.29", "value": "1532879999" }, { "name": "7.30-8.05", "value": "1533484799" }, { "name": "8.06-8.12", "value": "1534089599" }, { "name": "8.13-8.19", "value": "1534694399" } ], "showtime": "1532275199", "data": [ { "uid": "1034145308280456470", "accuracy": 100, "realname": "新五十", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456456", "accuracy": 100, "realname": "新三六", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456457", "accuracy": 100, "realname": "新三七", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456458", "accuracy": 100, "realname": "新三八", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456459", "accuracy": 100, "realname": "新三九", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456460", "accuracy": 100, "realname": "新四十", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456461", "accuracy": 100, "realname": "新四一", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456462", "accuracy": 100, "realname": "新四儿", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456463", "accuracy": 100, "realname": "新四三", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456464", "accuracy": 100, "realname": "新四四", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456465", "accuracy": 100, "realname": "新四五", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456466", "accuracy": 100, "realname": "新四六", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456467", "accuracy": 100, "realname": "新四七", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456468", "accuracy": 100, "realname": "新四八", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456469", "accuracy": 100, "realname": "新四九", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456455", "accuracy": 100, "realname": "新三五", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456454", "accuracy": 100, "realname": "新三四", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456421", "accuracy": 100, "realname": "新一", "face": "http://res-qiniu.12xue.com/avatar/1034145308280456421/big.jpg?imageView2/1/w/60/h/60&=1531704045", "sex": 2, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456424", "accuracy": 100, "realname": "新四", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456425", "accuracy": 100, "realname": "新五", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456426", "accuracy": 100, "realname": "新六", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456451", "accuracy": 100, "realname": "新三一", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级三班" }, { "uid": "1034145308280456409", "accuracy": 88.917, "realname": "穆三九", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级一班" }, { "uid": "1034145308280456430", "accuracy": 61.167, "realname": "新十", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456429", "accuracy": 51.308, "realname": "新九", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456422", "accuracy": 50, "realname": "新二", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1 }, { "uid": "1034145308280456420", "accuracy": 50, "realname": "穆五十", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级一班" }, { "uid": "1034145308280456427", "accuracy": 41, "realname": "新七", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级化学兴趣一班" }, { "uid": "1034145308280456452", "accuracy": 40, "realname": "新三二", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456431", "accuracy": 25, "realname": "新一一", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_0.jpg", "sex": 2, "classname": "2012级二班" }, { "uid": "1034145308280456453", "accuracy": 20, "realname": "新三三", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_m_1.jpg", "sex": 1, "classname": "2012级三班" }, { "uid": "1034145308280456423", "accuracy": 0, "realname": "新三", "face": "http://www.12xuetest.com/Common/images/face/middle/online_student_s_0.jpg", "sex": 2, "classname": "2012级化学兴趣一班" } ] } } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2018-07-14 09:51:29 * * * * *