💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/classinfo/teacherclasslist` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string||-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "realname": "静秋一", "username": "ssls16", "classname": "一班", "njmc": "2018", "bjid": "1000158536218060471", "code": 1, "receive_type": 0, "uid": "1054145308280692263", "type": 1, "bjbm": "41245084", "identitytype": 2, "schoolid": "1033144472438740526", "gradeid": 2155, "xd": "34", "duty": 2, "is_head": 0, "sort": 1, "tuid": "1054145308280692263", "bjmc": "2018级一班", "studentcount": 13, "flag": 1, "xdtitle": "高中" }, { "realname": "静秋一", "username": "ssls16", "classname": "I like smoking", "njmc": "2019", "bjid": "1000158536244741087", "code": 0, "receive_type": 0, "uid": "1054145308280692263", "type": 2,//1行政班,2兴趣班 "bjbm": "82217144",//班级代码 "identitytype": 2, "schoolid": "1033144472438740526", "gradeid": 2156, "xd": "34", "duty": 2, "is_head": 0, "sort": 100, "tuid": "1054145308280692263", "bjmc": "2019级I like smoking",//班级名称 "studentcount": 13,//学生人数 "flag": 0,//0没有待审核,1有待审核学生 "xdtitle": "高中" } ] } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| |bjmc|string|班级名称| --: 该接口最后修订时间:2020-05-21 17:21:09 * * * * *