| 
					
				 | 
			
			
				@@ -48,7 +48,7 @@ public class HttpUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			//自有短网址 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			JSONObject result = getSortUrl2(url); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			String code = result.getString("code"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			if(code.equals("200")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			if(StringUtils.equals(code,"200")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				return result.getString("data"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				//百度短网址 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -105,7 +105,7 @@ public class HttpUtil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	public static JSONObject getSortUrl2(String url){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			Map<String,Object> paramMap = new HashMap<>(2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			paramMap.put("url",URLDecoder.decode(url,"UTF-8")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			paramMap.put("longURL",URLDecoder.decode(url,"UTF-8")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			paramMap.put("key","dayayuemeng"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			Map<String,String> HeadMap = new HashMap<>(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			HeadMap.put("Content-Type","application/json; charset=UTF-8"); 
			 |