|  |  | @ -264,13 +264,14 @@ public class LoginServiceImpl implements LoginService { | 
			
		
	
		
			
				
					|  |  |  | 		passwordLoginUserInfoFormDTO.setPhone(formDTO.getPhone()); | 
			
		
	
		
			
				
					|  |  |  | 		Result<PasswordLoginUserInfoResultDTO> userInfoResult = epmetUserFeignClient.selectLoginUserInfoByPassword(passwordLoginUserInfoFormDTO); | 
			
		
	
		
			
				
					|  |  |  | 		if (!userInfoResult.success() || null == userInfoResult.getData()) { | 
			
		
	
		
			
				
					|  |  |  | 			logger.error("根据手机号查询运营人员信息失败"); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException("账号不存在"); | 
			
		
	
		
			
				
					|  |  |  | 			logger.error("根据手机号查询运营人员信息失败,返回10003账号不存在"); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(EpmetErrorCode.ERR10003.getCode()); | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		//3、密码是否正确
 | 
			
		
	
		
			
				
					|  |  |  | 		//密码错误
 | 
			
		
	
		
			
				
					|  |  |  | 		if (!PasswordUtils.matches(formDTO.getPassword(), userInfoResult.getData().getPassWord())) { | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(ErrorCode.ACCOUNT_PASSWORD_ERROR); | 
			
		
	
		
			
				
					|  |  |  | 			logger.error(String.format("手机号密码登陆失败,返回10004密码错误,用户输入密码%s,数据库密码%s",formDTO.getPassword(), userInfoResult.getData().getPassWord())); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(EpmetErrorCode.ERR10004.getCode()); | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		//4、生成token返回,且将TokenDto存到redis
 | 
			
		
	
		
			
				
					|  |  |  | 		UserTokenResultDTO userTokenResultDTO = new UserTokenResultDTO(); | 
			
		
	
	
		
			
				
					|  |  | 
 |