| 
						
						
							
								
							
						
						
					 | 
					@ -26,6 +26,7 @@ import org.apache.commons.lang3.StringUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.slf4j.Logger; | 
					 | 
					 | 
					import org.slf4j.Logger; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.slf4j.LoggerFactory; | 
					 | 
					 | 
					import org.slf4j.LoggerFactory; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Value; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.stereotype.Service; | 
					 | 
					 | 
					import org.springframework.stereotype.Service; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
					 | 
					 | 
					import org.springframework.util.CollectionUtils; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -66,6 +67,9 @@ public class SsoServiceImpl implements SsoService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    @Autowired | 
					 | 
					 | 
					    @Autowired | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    private CpUserDetailRedis cpUserDetailRedis; | 
					 | 
					 | 
					    private CpUserDetailRedis cpUserDetailRedis; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    @Value("${epmet.third.urlPrefix}") | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    private String epmetThirdUrlPrefix; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Description  0、入口:得到token | 
					 | 
					 | 
					     * @Description  0、入口:得到token | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @Param formDTO | 
					 | 
					 | 
					     * @Param formDTO | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -174,7 +178,7 @@ public class SsoServiceImpl implements SsoService { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    public String getCustomerId(String appId){ | 
					 | 
					 | 
					    public String getCustomerId(String appId){ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject jsonObject = new JSONObject(); | 
					 | 
					 | 
					        JSONObject jsonObject = new JSONObject(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String customerMsgUrl = "https://epmet-cloud.elinkservice.cn/api/third/customermp/getcustomermsg/"; | 
					 | 
					 | 
					        String customerMsgUrl = epmetThirdUrlPrefix + "/api/third/customermp/getcustomermsg/"; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(customerMsgUrl + appId, JSON.toJSONString(jsonObject)).getData(); | 
					 | 
					 | 
					        String data = HttpClientManager.getInstance().sendPostByJSON(customerMsgUrl + appId, JSON.toJSONString(jsonObject)).getData(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        log.info("调用third服务,根据appId查询客户信息:httpclient->url:" + customerMsgUrl + ",结果->" + data); | 
					 | 
					 | 
					        log.info("调用third服务,根据appId查询客户信息:httpclient->url:" + customerMsgUrl + ",结果->" + data); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
					 | 
					 | 
					        JSONObject toResult = JSON.parseObject(data); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |