适配容器接口
parent
05825ffd92
commit
75284574bd
|
@ -104,7 +104,7 @@ public class TianyiProvider {
|
||||||
HttpClient httpClient = new HttpClient(60 * 1000, PostDataFormat.RAW);
|
HttpClient httpClient = new HttpClient(60 * 1000, PostDataFormat.RAW);
|
||||||
httpClient.setDataFormat(null);
|
httpClient.setDataFormat(null);
|
||||||
|
|
||||||
String uri = "http://ccse-global.ctapi.ctyun.local:31167";
|
String uri = "http://ccse-global.ctapi.ctyun.local:31167" + url;
|
||||||
Map<String, Object> header = buildHeader(HttpRequestMethod.GET, url, headers, params);
|
Map<String, Object> header = buildHeader(HttpRequestMethod.GET, url, headers, params);
|
||||||
printCurl(HttpRequestMethod.GET, uri, header, params);
|
printCurl(HttpRequestMethod.GET, uri, header, params);
|
||||||
return httpClient.get(header, params, uri);
|
return httpClient.get(header, params, uri);
|
||||||
|
|
Loading…
Reference in New Issue