bug修改
This commit is contained in:
parent
5891131bdb
commit
e904c134c4
@ -29,7 +29,7 @@ public class HikvisionUtil {
|
|||||||
headers.put("Accept", "*/*");
|
headers.put("Accept", "*/*");
|
||||||
headers.put("Content-Type", "application/json");
|
headers.put("Content-Type", "application/json");
|
||||||
//Request request = new Request(Method.POST_STRING, host, path, appKey, appSecret, Constants.DEFAULT_TIMEOUT);
|
//Request request = new Request(Method.POST_STRING, host, path, appKey, appSecret, Constants.DEFAULT_TIMEOUT);
|
||||||
Request request = new Request(Method.POST_STRING, host, path, appKey, appSecret, Constants.DEFAULT_TIMEOUT * 10);
|
Request request = new Request(Method.POST_STRING, host, path, appKey, appSecret, Constants.DEFAULT_TIMEOUT * 60);
|
||||||
request.setHeaders(headers);
|
request.setHeaders(headers);
|
||||||
request.setQuerys(querys);
|
request.setQuerys(querys);
|
||||||
request.setStringBody(body);
|
request.setStringBody(body);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user