|
@@ -276,7 +276,7 @@ public class HttpUtils {
|
|
if (param != null && param.size() > 0) {
|
|
if (param != null && param.size() > 0) {
|
|
httppost.setEntity(new StringEntity(new Gson().toJson(param), Charset.forName("UTF-8")));
|
|
httppost.setEntity(new StringEntity(new Gson().toJson(param), Charset.forName("UTF-8")));
|
|
}
|
|
}
|
|
- RequestConfig requestConfig = RequestConfig.custom().setSocketTimeout(120 * 1000).setConnectTimeout(120 * 1000).build();
|
|
|
|
|
|
+ RequestConfig requestConfig = RequestConfig.custom().setSocketTimeout(300 * 1000).setConnectTimeout(300 * 1000).build();
|
|
httppost.setConfig(requestConfig);
|
|
httppost.setConfig(requestConfig);
|
|
HttpEntity respentity;
|
|
HttpEntity respentity;
|
|
|
|
|