mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-21 02:57:23 +08:00
...
This commit is contained in:
@@ -13,7 +13,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