bug修改

This commit is contained in:
guoshengxiong 2024-04-17 21:21:23 +08:00
parent 5891131bdb
commit e904c134c4

View File

@ -29,7 +29,7 @@ public class HikvisionUtil {
headers.put("Accept", "*/*");
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 * 10);
Request request = new Request(Method.POST_STRING, host, path, appKey, appSecret, Constants.DEFAULT_TIMEOUT * 60);
request.setHeaders(headers);
request.setQuerys(querys);
request.setStringBody(body);