This commit is contained in:
2020-06-15 22:08:43 +08:00
parent a167be799f
commit 4dd0ac0411

View File

@ -55,7 +55,7 @@
- 以下为参考示例:
``` java
@Configuration
public class MySaTokenConfig extends WebMvcConfigurationSupport {
public class MySaTokenConfig implements WebMvcConfigurer {
// 注册sa-token的拦截器打开注解式鉴权功能
@Override
public void addInterceptors(InterceptorRegistry registry) {