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