企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/homework/lessonCountByStu` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |classid|是|bigint|班级id|-| |ytlx|否|int|分别发送时需要提交的数据1基础4扩展5全部|-| |hwid|是|bigint|作业id|-| **返回示例** - 4.6.4以上Android及4.6.2以上iOS ```json { "ret": 0, "msg": "ok", "data": { "data": [ { "count": 7, "name": "正确率0%-80%", "percent": 78 }, { "count": 0, "name": "正确率81%-85%", "percent": 0 }, { "count": 0, "name": "正确率86%-90%", "percent": 0 }, { "count": 2, "name": "正确率91%-100%", "percent": 22 } ], "time": [ { "count": 8, "name": "0-60分钟", "percent": 89 }, { "count": 0, "name": "61-70分钟", "percent": 0 }, { "count": 0, "name": "71-80分钟", "percent": 0 }, { "count": 0, "name": "81-7分钟", "percent": 0 }, { "count": 1, "name": "8分钟以上", "percent": 11 } ], "ztdata": [ { "count": 1, "name": "正确率0%-80%", "percent": 50 }, { "count": 0, "name": "正确率81%-85%", "percent": 0 }, { "count": 0, "name": "正确率86%-90%", "percent": 0 }, { "count": 1, "name": "正确率91%-100%", "percent": 50 } ] } } ``` - success ```json { "ret": 0, "msg": "ok", "info": { "hwid": "1033145611941939476", "kcname": "2016-2-22 化学作业c", "xkid": "1", "xkname": "化学", "njname": "八年级", "bjid": "1000145610805138311", "bjname": "2013级小学2班", "finish_time": "2016-02-24" }, "zql": 0, "cwl": 100, "avg": 0, "subdata": [ { "name": "zoufengxs", "zql": 0, "status": 1 } ] } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2019-03-12 09:22:45 * * * * *