Commit ed63f779 authored by 严俊's avatar 严俊

验证token调整

parent 2f2fae1b
...@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
...@@ -33,7 +34,7 @@ import java.util.concurrent.TimeUnit; ...@@ -33,7 +34,7 @@ import java.util.concurrent.TimeUnit;
@Slf4j @Slf4j
@Setter @Setter
@Component @Component
public class TokenInterceptor implements HandlerInterceptor { public class TokenInterceptor extends HandlerInterceptorAdapter {
@Autowired @Autowired
private AfantiCasFeign casFeign; private AfantiCasFeign casFeign;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment