Commit 7b140065 authored by 陈炎's avatar 陈炎

🎨 log

parent 03de176d
...@@ -19,7 +19,6 @@ import java.util.Set; ...@@ -19,7 +19,6 @@ import java.util.Set;
* @contact chenyan@afanticar.com * @contact chenyan@afanticar.com
* @since 2023/4/26/026 * @since 2023/4/26/026
*/ */
@Slf4j @Slf4j
@Setter @Setter
@Component @Component
...@@ -31,6 +30,7 @@ public class TokenInterceptor implements HandlerInterceptor { ...@@ -31,6 +30,7 @@ public class TokenInterceptor implements HandlerInterceptor {
@Override @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
String requestUri = request.getRequestURI(); String requestUri = request.getRequestURI();
log.info("请求uri" + requestUri);
if (uris.contains(requestUri)) { if (uris.contains(requestUri)) {
return true; return true;
} }
......
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