!45 update sa-token-doc/doc/use/at-check.md.

Merge pull request !45 from AppleOfGray/N/A
This commit is contained in:
省长 2021-05-19 17:02:15 +08:00 committed by Gitee
commit b44ac363d5

View File

@ -25,6 +25,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
// 注册sa-token的注解拦截器打开注解式鉴权功能
@Override
public void addInterceptors(InterceptorRegistry registry) {
// 注册注解拦截器,并排除不需要注解鉴权的接口地址 (与登录拦截器无关)
registry.addInterceptor(new SaAnnotationInterceptor()).addPathPatterns("/**");
}
}