|
@@ -14,7 +14,7 @@ public class JwtlnterceptorConfig implements WebMvcConfigurer {
|
|
|
//目前测试下来 使用 /**所有的话,response.sendError浏览器获取不到响应的信息
|
|
//目前测试下来 使用 /**所有的话,response.sendError浏览器获取不到响应的信息
|
|
|
//默认拦截所有路径
|
|
//默认拦截所有路径
|
|
|
registry.addInterceptor(authenticationInterceptor())
|
|
registry.addInterceptor(authenticationInterceptor())
|
|
|
- .addPathPatterns("/api0/**");
|
|
|
|
|
|
|
+ .addPathPatterns("/api/**");
|
|
|
//endregion
|
|
//endregion
|
|
|
}
|
|
}
|
|
|
|
|
|