|  |  | @ -155,22 +155,27 @@ public class WxmpMessageServiceImpl implements WxmpMessageService { | 
			
		
	
		
			
				
					|  |  |  |                     if (WxmpMessageConstant.RESI.equals(clientType)) { | 
			
		
	
		
			
				
					|  |  |  |                         UserBasicInfoFormDTO userBasicInfoFormDTO = new UserBasicInfoFormDTO(); | 
			
		
	
		
			
				
					|  |  |  |                         userBasicInfoFormDTO.setUserId(userId); | 
			
		
	
		
			
				
					|  |  |  |                         UserBasicInfo data = epmetUserOpenFeignClient.getUserBasicInfo(userBasicInfoFormDTO).getData(); | 
			
		
	
		
			
				
					|  |  |  |                         if (data != null){ | 
			
		
	
		
			
				
					|  |  |  |                             openId = data.getOpenId(); | 
			
		
	
		
			
				
					|  |  |  |                         Result<UserBasicInfo> userBasicInfo = epmetUserOpenFeignClient.getUserBasicInfo(userBasicInfoFormDTO); | 
			
		
	
		
			
				
					|  |  |  |                         if (userBasicInfo.getCode() != 0){ | 
			
		
	
		
			
				
					|  |  |  |                             throw new Exception(userBasicInfo.getInternalMsg()); | 
			
		
	
		
			
				
					|  |  |  |                         }else { | 
			
		
	
		
			
				
					|  |  |  |                             openId = userBasicInfo.getData().getOpenId(); | 
			
		
	
		
			
				
					|  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |                     } else if (WxmpMessageConstant.GOV_DB.equals(clientType)) { | 
			
		
	
		
			
				
					|  |  |  |                         StaffBasicInfoFormDTO staffBasicInfoFormDTO = new StaffBasicInfoFormDTO(); | 
			
		
	
		
			
				
					|  |  |  |                         staffBasicInfoFormDTO.setStaffId(userId); | 
			
		
	
		
			
				
					|  |  |  |                         StaffBasicInfo data = epmetUserOpenFeignClient.getStaffBasicInfo(staffBasicInfoFormDTO).getData(); | 
			
		
	
		
			
				
					|  |  |  |                         if (data != null){ | 
			
		
	
		
			
				
					|  |  |  |                             openId = data.getOpenId(); | 
			
		
	
		
			
				
					|  |  |  |                         Result<StaffBasicInfo> staffBasicInfo = epmetUserOpenFeignClient.getStaffBasicInfo(staffBasicInfoFormDTO);; | 
			
		
	
		
			
				
					|  |  |  |                         if (staffBasicInfo.getCode() != 0){ | 
			
		
	
		
			
				
					|  |  |  |                             throw new Exception(staffBasicInfo.getInternalMsg()); | 
			
		
	
		
			
				
					|  |  |  |                         }else { | 
			
		
	
		
			
				
					|  |  |  |                             openId = staffBasicInfo.getData().getOpenId(); | 
			
		
	
		
			
				
					|  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |                         throw new WxSubscribeException("clientType有误", "", openId); | 
			
		
	
		
			
				
					|  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |                 } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |                     throw new WxSubscribeException("连接User服务失败" + e.getMessage(), "", ""); | 
			
		
	
		
			
				
					|  |  |  |                     e.printStackTrace(); | 
			
		
	
		
			
				
					|  |  |  |                     throw new WxSubscribeException("获取openId失败:" + e.getMessage(), "", ""); | 
			
		
	
		
			
				
					|  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |                 if (StringUtils.isBlank(openId)) { | 
			
		
	
	
		
			
				
					|  |  | 
 |