获取登录用户
(1) 请求方式
POST
(2) 接口URL
| 类型 | 地址 |
|---|---|
| 测试服 | http://sso.cqcet.edu.cn/test/oauth/check_token |
| 正式服 | http://sso.cqcet.edu.cn/oauth/check_token (http将于10月30日停用) |
| 正式服 (https) | https://sso.cqcet.edu.cn/oauth/check_token |
(3) 接口参数
| 参数名称 | 参数类型 | 是否可为空 | 说明 |
|---|---|---|---|
| client_id | String | N | 系统id |
| client_secret | String | N | 系统密码 |
| token | String | N | access_token(这个参数需要放在Query里面) |
(4) 截图

(5) 返回结果说明
user_name:登录用户
示例:
{
"exp": 1616462748,
"user_name": "200220011",
"authorities": [
],
"client_id": "web-cjrt",
"scope": [
"app"
]
}