💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**基本信息** 接口地址:`http[s]://api.12xue.com/notify/firstAuthRange` 请求方式:`GET` 请求类型:`application/x-www-form-urlencoded` 响应类型:`json` **请求头** |参数名|必选|描述|默认值| |---|---|---|---| |Token|否|用户唯一token|-| |Source|是|客户端来源标识|-| |Version|是|客户端当前版本号|1.0.0| |Identity|否|用户角色|-| **参数** |参数名|必选|类型|描述|默认值| |---|---|---|---|---| |uid|是|string|uid|-| |role_id|是|string|uid的角色id|-| |catid|是|string|uid的角色分类|-| |schoolid|是|string|uid的学校id|-| |xxid|否|string|角色是否是学校自定义的,是的话传xxid,不是就不传|-| **返回示例** - success ```json { "ret": 0, "msg": "ok", "data": [ { "schoolid": "1033144472596497620", "auth_role_id": 26, "title": "学科组长", "catid": 4, "is_select": 1, "type": "usr" }, { "schoolid": "1033144472596497620", "auth_role_id": "30", "title": "班主任", "catid": 0, "is_select": 1, "type": "grade" }, { "schoolid": "1033144472596497620", "auth_role_id": "4", "title": "任课老师", "catid": 0, "is_select": 1, "type": "grade" }, { "schoolid": "1033144472596497620", "auth_role_id": "7", "title": "学生", "catid": 0, "is_select": 1, "type": "grade" }, { "schoolid": "1033144472596497620", "auth_role_id": "8", "title": "家长", "catid": 0, "is_select": 1, "type": "grade" }, { "schoolid": "1033144472596497620", "auth_role_id": "-1", "title": "全校老师", "catid": 0, "is_select": 1, "type": "grade" }, { "schoolid": "1033144472596497620", "auth_role_id": 3, "title": "校长小组", "catid": "0", "type": "group" } ] } ``` - error ```json { "ret": -1, "msg": "参数错误或者未定义" } ``` **返回参数说明** |参数名|类型|说明| |---|---|---| |ret |int |状态码 0:成功| |msg |string |状态消息 ok:成功| --: 该接口最后修订时间:2019-11-14 09:48:24 * * * * *