‘linchangsheng’ 2 달 전
부모
커밋
7f8fcd3130
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mall-miniapp-service/src/main/java/com/gree/mall/miniapp/config/aop/ApiAspect.java

+ 2 - 2
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/config/aop/ApiAspect.java

@@ -82,11 +82,11 @@ public class ApiAspect {
             throw new RemoteServiceException(ResponseHelper.ResponseCode_TOKEN_ID_ERROR, "请求不合法");
         }
 
-        User userServiceById = userService.getById(jwtUserId);
+  /*      User userServiceById = userService.getById(jwtUserId);
 
         if(userServiceById == null) {
             throw new RemoteServiceException(ResponseHelper.ResponseCode_TOKEN_ID_ERROR, "请求不合法, token");
-        }
+        }*/
 
         User user = userService.getById(userId);
         if(user == null){