mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-02-27 16:50:24 +08:00
....
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
- 以下为参考示例:
|
- 以下为参考示例:
|
||||||
``` java
|
``` java
|
||||||
@Configuration
|
@Configuration
|
||||||
public class MySaTokenConfig extends WebMvcConfigurationSupport {
|
public class MySaTokenConfig implements WebMvcConfigurer {
|
||||||
// 注册sa-token的拦截器,打开注解式鉴权功能
|
// 注册sa-token的拦截器,打开注解式鉴权功能
|
||||||
@Override
|
@Override
|
||||||
public void addInterceptors(InterceptorRegistry registry) {
|
public void addInterceptors(InterceptorRegistry registry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user