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