修复文档错误

This commit is contained in:
click33 2024-09-02 17:41:06 +08:00
parent b8fcf37bc4
commit 121b857135

View File

@ -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<>();