| 
					
				 | 
			
			
				@@ -61,14 +61,14 @@ public class BindAccountAuthServiceImpl extends ServiceImpl<BindAccountAuthMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public String getKuaishouCodeUrl(String state, Integer agentType) throws UnsupportedEncodingException { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         StringBuffer sb = new StringBuffer(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (agentType == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sb.append(PropertiesUtils.getValue("kuaishou_config", "kuaishou_auth_url")) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    .append(KuaishouInterfaceConstant.AUTH_PATH) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    .append("?app_id=" + PropertiesUtils.getValue("kuaishou_config", "kuaishou_appid")) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    .append("&state=" + URLEncoder.encode(URLEncoder.encode(state))) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    .append("&scope=%5B%22report_service%22%2C%22ad_query%22%2C%22account_service%22%2C%22ad_manage%22%5D") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    .append("&redirect_uri=" + URLEncoder.encode(PropertiesUtils.getValue("kuaishou_config", "kuaishou_callback_url"), "UTF-8")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sb.append(PropertiesUtils.getValue("kuaishou_config", "kuaishou_auth_url")) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .append(KuaishouInterfaceConstant.AUTH_PATH) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .append("?app_id=" + PropertiesUtils.getValue("kuaishou_config", "kuaishou_appid")) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .append("&state=" + URLEncoder.encode(URLEncoder.encode(state))) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .append("&scope=%5B%22report_service%22%2C%22ad_query%22%2C%22ad_manage%22%5D") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .append("&redirect_uri=" + URLEncoder.encode(PropertiesUtils.getValue("kuaishou_config", "kuaishou_callback_url"), "UTF-8")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return sb.toString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |