bug修复
This commit is contained in:
parent
5d1cf14e76
commit
80641bab78
@ -1657,7 +1657,7 @@ public class HikvisionCall {
|
|||||||
try {
|
try {
|
||||||
X509TrustManagerUtil.downLoadFromUrlHttps(url, fileName, basePath);
|
X509TrustManagerUtil.downLoadFromUrlHttps(url, fileName, basePath);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
log.error("下载图片失败,url:{}。>>>", url, e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return fileName;
|
return fileName;
|
||||||
|
|||||||
@ -56,7 +56,7 @@ public class HikvisionUtil {
|
|||||||
log.info("HikvisionUtil#doPost.getResponseResult:{}", responseStr);
|
log.info("HikvisionUtil#doPost.getResponseResult:{}", responseStr);
|
||||||
} catch (Exception var10) {
|
} catch (Exception var10) {
|
||||||
isException = true;
|
isException = true;
|
||||||
var10.printStackTrace();
|
log.error("HikvisionUtil#doPost.error:{}", var10.getMessage(), var10);
|
||||||
if (hikvisionRequestRetryId == null) {
|
if (hikvisionRequestRetryId == null) {
|
||||||
HikvisionRequestRetry entity = new HikvisionRequestRetry();
|
HikvisionRequestRetry entity = new HikvisionRequestRetry();
|
||||||
entity.setUrl(host + path);
|
entity.setUrl(host + path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user