Commit c1e946f1 by HlQ

[chg] 拦截器加入 Spring 托管

1 parent 140efa64
......@@ -2,10 +2,11 @@ package vion.interceptor;
import cn.dev33.satoken.interceptor.SaInterceptor;
import cn.dev33.satoken.stp.StpUtil;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
// @Configuration
@Configuration
public class InterceptorConfig implements WebMvcConfigurer {
@Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!