From 05df94f5658524d5c404415ab63e95bc139d8b3f Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期一, 03 三月 2025 18:37:40 +0800 Subject: [PATCH] 修改模型3的bug --- guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java index ee8f38d..f2df95f 100644 --- a/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java +++ b/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java @@ -417,13 +417,13 @@ //图片地址 String data = result.getString("data"); if(ToolUtil.isEmpty(data)){ - if(num == 12){ + if(num == 60){ log.error(result.getString("msg")); - throw new RuntimeException("【2018年协议车辆获取拍摄图片】12次(1分钟)失败:" + execute.body()); + throw new RuntimeException("【2018年协议车辆获取拍摄图片】60次(1分钟)失败:" + execute.body()); } num++; try { - Thread.sleep(5000); + Thread.sleep(1000); } catch (InterruptedException e) { throw new RuntimeException(e); } @@ -468,13 +468,13 @@ //图片地址 String data = result.getString("data"); if(ToolUtil.isEmpty(data)){ - if(num == 12){ + if(num == 60){ log.error(result.getString("msg")); - throw new RuntimeException("【2023年协议车辆获取拍摄图片】12次(1分钟)失败:" + execute.body()); + throw new RuntimeException("【2023年协议车辆获取拍摄图片】60次(1分钟)失败:" + execute.body()); } num++; try { - Thread.sleep(5000); + Thread.sleep(1000); } catch (InterruptedException e) { throw new RuntimeException(e); } -- Gitblit v1.7.1