‘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){