SpringBoot整合HttpClient实例

This commit is contained in:
li5454yong 2017-02-06 18:16:06 +08:00
parent 31cacf75bc
commit 82dbd70c76
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class HttpAPIService {
@Autowired
private RequestConfig config;
/**
* 不带参数的get请求如果状态码为200则返回body如果不为200则返回null
*