diff --git a/sa-token-doc/doc/use/jur-auth.md b/sa-token-doc/doc/use/jur-auth.md index c050e649..c4bd5821 100644 --- a/sa-token-doc/doc/use/jur-auth.md +++ b/sa-token-doc/doc/use/jur-auth.md @@ -27,7 +27,7 @@ import org.springframework.stereotype.Component; import cn.dev33.satoken.stp.StpInterface; /** - * 自定义权限验证接口扩展 + * 自定义权限验证接口扩展 */ @Component // 保证此类被springboot扫描,完成sa-token的自定义权限验证扩展 public class StpInterfaceImpl implements StpInterface { @@ -36,7 +36,7 @@ public class StpInterfaceImpl implements StpInterface { * 返回一个账号所拥有的权限码集合 */ @Override - public List getPermissionCodeList(Object loginId, String loginKey) { + public List getPermissionList(Object loginId, String loginKey) { // 本list仅做模拟,实际项目中要根据具体业务逻辑来查询权限 List list = new ArrayList(); list.add("101");