💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/outschool/classes` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |xd|是|string|学段|-| |schoolid|是|string|学校id|-| **返回示例** - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` - success ```json { "ret": 0, "msg": "ok", "data": { "2010": [ { "id": "1000145930550287616", "classname": "五班", "gradeid": "28", "is_head": 0, //是否指定了班主任,1是 0否 "code": 5, "use_attendance": 0, //是否使用考勤打卡功能, 1是 0否 "njmc": "2010", "xd": "21", "realname": "东方原彤东方原彤东方原彤东方东方原彤东方原彤东方原彤东方原彤" }, { "id": "1000145930589076975", "classname": "六班", "gradeid": "28", "is_head": 0, "code": 6, "use_attendance": 0, "njmc": "2010", "xd": "21", "realname": "东方原彤东方原彤东方原彤东方东方原彤东方原彤东方原彤东方原彤" } ], "2015": [ { "id": "100014588882841434", "classname": "一班", "gradeid": "91", "is_head": 1, "code": 1, "use_attendance": 0, "njmc": "2015", "xd": "21", "realname": "东方原彤东方原彤东方原彤东方东方原彤东方原彤东方原彤东方原彤" }, { "id": "1000145888831542177", "classname": "三班", "gradeid": "91", "is_head": 0, "code": 3, "use_attendance": 0, "njmc": "2015", "xd": "21", "realname": "东方原彤东方原彤东方原彤东方东方原彤东方原彤东方原彤东方原彤" } ] } } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| |is_head|string|是否指定了班主任,1是 0否| |use_attendance|string|是否使用考勤打卡功能, 1是 0否| --: 该接口最后修订时间:2017-03-15 16:27:01 * * * * *