mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	增加sendGet无参请求方法
This commit is contained in:
		@@ -30,6 +30,17 @@ public class HttpUtils
 | 
			
		||||
{
 | 
			
		||||
    private static final Logger log = LoggerFactory.getLogger(HttpUtils.class);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 向指定 URL 发送GET方法的请求
 | 
			
		||||
     *
 | 
			
		||||
     * @param url 发送请求的 URL
 | 
			
		||||
     * @return 所代表远程资源的响应结果
 | 
			
		||||
     */
 | 
			
		||||
    public static String sendGet(String url)
 | 
			
		||||
    {
 | 
			
		||||
        return sendGet(url, StringUtils.EMPTY);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 向指定 URL 发送GET方法的请求
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user