mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-01 19:37:42 +08:00
修复文档错误
This commit is contained in:
parent
b8fcf37bc4
commit
121b857135
@ -27,7 +27,7 @@ public SaResult userinfo() {
|
||||
System.out.println("-------- 此Access-Token对应的账号id: " + loginId);
|
||||
|
||||
// 校验 Access-Token 是否具有权限: userinfo
|
||||
SaOAuth2Util.checkScope(accessToken, "userinfo");
|
||||
SaOAuth2Util.checkAccessTokenScope(accessToken, "userinfo");
|
||||
|
||||
// 模拟账号信息 (真实环境需要查询数据库获取信息)
|
||||
Map<String, Object> map = new LinkedHashMap<>();
|
||||
|
Loading…
Reference in New Issue
Block a user