liu %!s(int64=2) %!d(string=hai) anos
pai
achega
e498a2080f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/repair/core/JwtlnterceptorConfig.java

+ 1 - 1
src/main/java/com/repair/core/JwtlnterceptorConfig.java

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