mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-01 11:27:53 +08:00
!45 update sa-token-doc/doc/use/at-check.md.
Merge pull request !45 from AppleOfGray/N/A
This commit is contained in:
commit
b44ac363d5
@ -25,6 +25,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
// 注册sa-token的注解拦截器,打开注解式鉴权功能
|
||||
@Override
|
||||
public void addInterceptors(InterceptorRegistry registry) {
|
||||
// 注册注解拦截器,并排除不需要注解鉴权的接口地址 (与登录拦截器无关)
|
||||
registry.addInterceptor(new SaAnnotationInterceptor()).addPathPatterns("/**");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user