zhoutg 6 years ago
parent
commit
d39d2b97bc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      user-service/src/main/java/com/diagbot/facade/UserFacade.java

+ 3 - 3
user-service/src/main/java/com/diagbot/facade/UserFacade.java

@@ -101,7 +101,7 @@ public class UserFacade extends UserServiceImpl {
     @Autowired
     PermissionFacade permissionFacade;
     @Autowired
-    DiagbotmanClient diagbotmanService;
+    DiagbotmanClient diagbotmanClient;
 
     /**
      * 注册
@@ -928,7 +928,7 @@ public class UserFacade extends UserServiceImpl {
             Long userInfoId = userInfoDTO.getUserId();
             userIds.add(userInfoId);
         }
-        RespDTO<List<UserAndProdutUDTO>> InformationData = diagbotmanService.getInformationAvailableAll(userIds);
+        RespDTO<List<UserAndProdutUDTO>> InformationData = diagbotmanClient.getInformationAvailableAll(userIds);
 
         if (InformationData == null || !"0".equals(InformationData.code)) {
             throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
@@ -1026,7 +1026,7 @@ public class UserFacade extends UserServiceImpl {
         if(userIds.size()>0){
         	
         
-        RespDTO<List<UserAndProdutUDTO>> InformationData = diagbotmanService.getInformationAvailableAll(userIds);
+        RespDTO<List<UserAndProdutUDTO>> InformationData = diagbotmanClient.getInformationAvailableAll(userIds);
 
         if (InformationData == null || !"0".equals(InformationData.code)) {
             throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,