夏文涛 2 년 전
부모
커밋
a4ce45df23
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/main/java/com/template/core/JwtAuthenticationInterceptor.java

+ 3 - 3
src/main/java/com/template/core/JwtAuthenticationInterceptor.java

@@ -46,9 +46,9 @@ public class JwtAuthenticationInterceptor implements HandlerInterceptor {
         }
 
         //冻结后无法操作系统
-        if (1 == 1) {
-            return true;
-        }
+//        if (1 == 1) {
+//            return true;
+//        }
 
         //除了登录和注册接口不需要user_head和token请求头外其他时候基本都要请求头
         if(request.getHeader("user_head") == null){