多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/homework/gradeSendInfo` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |id|是|bigint|作业id|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "subdata": [ { "issend": 0, "bjid": "1003143997295184793", "bjname": "九班", "bjmc": "2016级九班" }, { "issend": 0, "bjid": "100014551795176418", "bjname": "123", "bjmc": "2016级123" } ], "njname": "2016级" }, { "subdata": [ { "issend": 0, "bjid": "1000145466778522008", "bjname": "九班", "bjmc": "2014级九班" } ], "njname": "2014级" }, { "subdata": [ { "issend": 0, "bjid": "1000145466799464975", "bjname": "三班", "bjmc": "2015级三班" } ], "njname": "2015级" }, { "subdata": [ { "issend": 0, "bjid": "100014546727032090", "bjname": "二班", "bjmc": "2013级二班" }, { "issend": 0, "bjid": "1000145527344788397", "bjname": "一年级一班", "bjmc": "2013级一年级一班" }, { "issend": 0, "bjid": "1000145610805138311", "bjname": "小学2班", "bjmc": "2013级小学2班" } ], "njname": "2013级" } ] } ``` - error ```json { "msg": "未获取到作业信息", "ret": -1 } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2017-09-08 14:47:02 * * * * *