From a4bfa94e3d97406c410e6975d9ab1b625ed05fe1 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期三, 28 五月 2025 18:00:22 +0800
Subject: [PATCH] 新增任务管理、任务记录等搜索字段,可重复审核,添加导出任务记录字段

---
 guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/videoGateway/VideoGateway.java |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 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..6479114 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
@@ -201,7 +201,7 @@
 		if(null == accountLogin){
 			accountLogin();
 		}
-		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/map/web/map/queryRuntimeInfoByCache");
+		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/api/muck-core/web/map/queryRuntimeInfoByCache");
 		post.header("operate-terminal", "4");
 		post.header("token", accountLogin.getToken());
 		post.body("{}");
@@ -242,7 +242,7 @@
 		if(null == accountLogin){
 			accountLogin();
 		}
-		HttpRequest get = HttpUtil.createGet("https://zhyn.cg.gz.gov.cn/jttweb/api/v1/location/locationRealTimeInfoCache");
+		HttpRequest get = HttpUtil.createGet("https://zhyn.cg.gz.gov.cn/api/jtt-web/jttweb/api/v1/location/locationRealTimeInfoCache");
 		get.header("operate-terminal", "4");
 		get.header("token", accountLogin.getToken());
 		log.info("【2023年协议车辆在线】请求参数:" + get.getUrl());
@@ -284,7 +284,7 @@
 		if(null == accountLogin){
 			accountLogin();
 		}
-		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/map/web/vehicleCtrl/" + terminalId + "/cameraShot");
+		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/api/muck-core/web/vehicleCtrl/" + terminalId + "/cameraShot");
 		post.header("operate-terminal", "4");
 		post.header("token", accountLogin.getToken());
 		log.info("【2018年协议发送拍摄指令接口】请求地址:" + post.getUrl());
@@ -392,7 +392,7 @@
 		if(null == accountLogin){
 			accountLogin();
 		}
-		HttpRequest get = HttpUtil.createGet("https://zhyn.cg.gz.gov.cn/map/web/vehicleCtrl/getCameraShotById?terminalId=" + terminalId + "&id=" + fileId);
+		HttpRequest get = HttpUtil.createGet("https://zhyn.cg.gz.gov.cn/api/muck-core/web/vehicleCtrl/getCameraShotById?terminalId=" + terminalId + "&id=" + fileId);
 		get.header("operate-terminal", "4");
 		get.header("token", accountLogin.getToken());
 		log.info("【2018年协议车辆获取拍摄图片】请求参数:" + get.getUrl());
@@ -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);
 			}
@@ -497,7 +497,7 @@
 		if(null == accountLogin){
 			accountLogin();
 		}
-		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/map/web/map/getTrackInfoByVehicleNum");
+		HttpRequest post = HttpUtil.createPost("https://zhyn.cg.gz.gov.cn/api/muck-core/web/map/getTrackInfoByVehicleNum");
 		post.header("operate-terminal", "4");
 		post.header("token", accountLogin.getToken());
 		Map<String, Object> body = new HashMap<>();

--
Gitblit v1.7.1