提交 a167be79 编写于 作者: shengzhang_'s avatar shengzhang_

...

上级 88bc4b88
......@@ -13,7 +13,7 @@
``` java
@Configuration
public class MySaTokenConfig extends WebMvcConfigurationSupport {
public class MySaTokenConfig implements WebMvcConfigurer {
// 注册sa-token的拦截器,打开注解式鉴权功能
@Override
public void addInterceptors(InterceptorRegistry registry) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册