From 82dbd70c7618c00ff4d0a90d563ebc9c2c2291c0 Mon Sep 17 00:00:00 2001 From: li5454yong <283056051@qq.com> Date: Mon, 6 Feb 2017 18:16:06 +0800 Subject: [PATCH] =?UTF-8?q?SpringBoot=E6=95=B4=E5=90=88HttpClient=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lxg/springboot/http/HttpAPIService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/lxg/springboot/http/HttpAPIService.java b/src/main/java/com/lxg/springboot/http/HttpAPIService.java index 8877a26..7c10645 100644 --- a/src/main/java/com/lxg/springboot/http/HttpAPIService.java +++ b/src/main/java/com/lxg/springboot/http/HttpAPIService.java @@ -27,6 +27,7 @@ public class HttpAPIService { @Autowired private RequestConfig config; + /** * 不带参数的get请求,如果状态码为200,则返回body,如果不为200,则返回null *