| 
						
						
							
								
							
						
						
					 | 
					@ -71,6 +71,9 @@ public class PublicUserLoginServiceImpl implements PublicUserLoginService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_SAVEUSER, JSON.toJSONString(dto)).getData(); | 
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_SAVEUSER, JSON.toJSONString(dto)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (null != toResult.get("code")) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            result.setCode(((Integer) toResult.get("code")).intValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!result.success()) { | 
					 | 
					 | 
					        if (!result.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(PublicUserLoginConstant.SAVE_USER_EXCEPTION); | 
					 | 
					 | 
					            throw new RenException(PublicUserLoginConstant.SAVE_USER_EXCEPTION); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -165,6 +168,9 @@ public class PublicUserLoginServiceImpl implements PublicUserLoginService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_CHECKPAUSER, JSON.toJSONString(dto)).getData(); | 
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_CHECKPAUSER, JSON.toJSONString(dto)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (null != toResult.get("code")) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            result.setCode(((Integer) toResult.get("code")).intValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!result.success()) { | 
					 | 
					 | 
					        if (!result.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error(String.format(SEND_SMS_CODE_ERROR, formDTO.getPhone(), result.getCode(), result.getMsg())); | 
					 | 
					 | 
					            logger.error(String.format(SEND_SMS_CODE_ERROR, formDTO.getPhone(), result.getCode(), result.getMsg())); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -211,6 +217,9 @@ public class PublicUserLoginServiceImpl implements PublicUserLoginService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_CHECKPAUSER, JSON.toJSONString(dto)).getData(); | 
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSER_CHECKPAUSER, JSON.toJSONString(dto)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (null != toResult.get("code")) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            result.setCode(((Integer) toResult.get("code")).intValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!result.success()) { | 
					 | 
					 | 
					        if (!result.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error(String.format("手机验证码登录异常,手机号[%s],code[%s],msg[%s]", formDTO.getPhone(), result.getCode(), result.getMsg())); | 
					 | 
					 | 
					            logger.error(String.format("手机验证码登录异常,手机号[%s],code[%s],msg[%s]", formDTO.getPhone(), result.getCode(), result.getMsg())); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -259,6 +268,9 @@ public class PublicUserLoginServiceImpl implements PublicUserLoginService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String data1 = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSERVISITED_SAVEUSERVISITED, JSON.toJSONString(visited)).getData(); | 
					 | 
					 | 
					        String data1 = HttpClientManager.getInstance().sendPostByJSON(ThirdApiConstant.THIRD_PAUSERVISITED_SAVEUSERVISITED, JSON.toJSONString(visited)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject json = JSON.parseObject(data1); | 
					 | 
					 | 
					        JSONObject json = JSON.parseObject(data1); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result visitedResult = ConvertUtils.mapToEntity(json, Result.class); | 
					 | 
					 | 
					        Result visitedResult = ConvertUtils.mapToEntity(json, Result.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (null != json.get("code")) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            visitedResult.setCode(((Integer) json.get("code")).intValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!visitedResult.success()) { | 
					 | 
					 | 
					        if (!visitedResult.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error(PublicUserLoginConstant.SAVE_VISITED_EXCEPTION); | 
					 | 
					 | 
					            logger.error(PublicUserLoginConstant.SAVE_VISITED_EXCEPTION); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -281,6 +293,9 @@ public class PublicUserLoginServiceImpl implements PublicUserLoginService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(AuthHttpUrlConstant.REGISTER_URL, JSON.toJSONString(formDTO)).getData(); | 
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(AuthHttpUrlConstant.REGISTER_URL, JSON.toJSONString(formDTO)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
					 | 
					 | 
					        Result result = ConvertUtils.mapToEntity(toResult, Result.class); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (null != toResult.get("code")) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            result.setCode(((Integer) toResult.get("code")).intValue()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (!result.success()) { | 
					 | 
					 | 
					        if (!result.success()) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            logger.error(String.format("调用epmet_third服务初始化用户信息失败,数据来源[%s],手机号[%s],userId:[%S]", formDTO.getSource(), formDTO.getPhone(), formDTO.getUserId())); | 
					 | 
					 | 
					            logger.error(String.format("调用epmet_third服务初始化用户信息失败,数据来源[%s],手机号[%s],userId:[%S]", formDTO.getSource(), formDTO.getPhone(), formDTO.getUserId())); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
					 | 
					 | 
					            throw new RenException(result.getCode()); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |