|
@@ -51,7 +51,7 @@ public class AuthenticationInterceptor implements HandlerInterceptor {
|
|
throws Exception {
|
|
throws Exception {
|
|
String url = request.getRequestURI();
|
|
String url = request.getRequestURI();
|
|
log.info("拦截**请求路径:{}",url);
|
|
log.info("拦截**请求路径:{}",url);
|
|
- if(url.startsWith("/api/foreign")){
|
|
|
|
|
|
+ if(url.contains("/foreign/")){
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
String token = this.getTokenFromRequest(request);
|
|
String token = this.getTokenFromRequest(request);
|