parent
18a1fcce1b
commit
7fa5d10587
|
@ -4,6 +4,7 @@ import cn.hutool.http.Header;
|
|||
import cn.hutool.http.HttpRequest;
|
||||
import cn.hutool.http.HttpResponse;
|
||||
import com.dispose.common.ConstValue;
|
||||
import com.dispose.common.DisposeConfigValue;
|
||||
import com.dispose.pojo.dto.protocol.base.ProtocolRespDTO;
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
|
@ -36,7 +37,7 @@ public class RestfulInterface {
|
|||
/**
|
||||
* The constant timeOutValue.
|
||||
*/
|
||||
private static int timeOutValue = 5000;
|
||||
private static int timeOutValue = new Long(DisposeConfigValue.REQUEST_TIMEOUT_MS).intValue();
|
||||
|
||||
/**
|
||||
* Instantiates a new Restful interface.
|
||||
|
|
Loading…
Reference in New Issue