🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/teacher/lessonCountXt` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |ytlx|是|int|用途类型|-| |eid|否|bigint|习题id(取列表时候不穿,传习题id获取习题的答题统计)|-| |hwid|是|bigint|作业id|-| |classid|是|bigint|班级id|-| |num|否|string|每页展示条数|10| **返回示例** - success ```json { "ret": 0, "msg": "ok", "totalPages": 1, "subdata": [ { "th": 1, "id": "1003145561773334950", "tx": "danxt", "tg": "zzzzzzzzzzzzz", "dajx": "zzzzzzzzzzzzzzzzz", "ytlx": "1", "totaluser": 1, "zq": 0, "cw": 1, "dts": 1, "zql": 0 }, { "th": 2, "id": "1003145561783435422", "tx": "danxt", "tg": "aaaaaaaaaaaaaaaaaaaaa", "dajx": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "ytlx": "1", "totaluser": 1, "zq": 0, "cw": 1, "dts": 1, "zql": 0 }, { "th": 3, "id": "1033145594468177577", "tx": "danxt", "tg": "fffffffffffffffffffffff", "dajx": "fffffffffffffffffffff", "ytlx": "1", "totaluser": 1, "zq": 0, "cw": 1, "dts": 1, "zql": 0 } ] } ``` - error ```json { "msg": "参数错误或者未定义", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-02-24 17:20:22 * * * * *