|
|
@ -295,7 +295,7 @@ public class DownLoadUtil { |
|
|
|
public static String doPost(String url, String params, Map<String, Object>... headers){ |
|
|
|
String strResult = ""; |
|
|
|
//设置超时时间 |
|
|
|
int timeout = 60; |
|
|
|
int timeout = 180; |
|
|
|
RequestConfig config = RequestConfig.custom(). |
|
|
|
setConnectTimeout(timeout * 1000). |
|
|
|
setConnectionRequestTimeout(timeout * 1000). |
|
|
|