企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/class/names` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "code": 1, "name": "一班" }, { "code": 2, "name": "二班" }, { "code": 3, "name": "三班" }, { "code": 4, "name": "四班" }, { "code": 5, "name": "五班" }, { "code": 6, "name": "六班" }, { "code": 7, "name": "七班" }, { "code": 8, "name": "八班" }, { "code": 9, "name": "九班" }, { "code": 10, "name": "十班" }, { "code": 11, "name": "十一班" }, { "code": 12, "name": "十二班" }, { "code": 13, "name": "十三班" }, { "code": 14, "name": "十四班" }, { "code": 15, "name": "十五班" }, { "code": 16, "name": "十六班" }, { "code": 17, "name": "十七班" }, { "code": 18, "name": "十八班" }, { "code": 19, "name": "十九班" }, { "code": 20, "name": "二十班" }, { "code": 21, "name": "二十一班" }, { "code": 22, "name": "二十二班" }, { "code": 23, "name": "二十三班" }, { "code": 24, "name": "二十四班" }, { "code": 25, "name": "二十五班" }, { "code": 26, "name": "二十六班" }, { "code": 27, "name": "二十七班" }, { "code": 28, "name": "二十八班" }, { "code": 29, "name": "二十九班" }, { "code": 30, "name": "三十班" } ] } ``` - error ```json { "ret": -1, "msg": "未知错误" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2016-03-06 14:45:00 * * * * *