From f5860a032557e18f52c5d8d30fefecc778b9ac89 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 21 Sep 2022 13:51:01 +0800 Subject: [PATCH] =?UTF-8?q?nginx=E8=BD=AC=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/plugin/power/modules/visit/utils/DhDeviceUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/visit/utils/DhDeviceUtil.java b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/visit/utils/DhDeviceUtil.java index cb11422..55185e7 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/visit/utils/DhDeviceUtil.java +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/visit/utils/DhDeviceUtil.java @@ -612,9 +612,10 @@ public class DhDeviceUtil { list.add(channel); String channelId = jsonItem.get("channelId").toString(); String[] channelIds = channelId.split("\\$"); - String videoUrl = "http://112.6.213.175:7086/live/cameraid/" + channelIds[0] + "%24" + channelIds[channelIds.length - 1] + "/substream/1.m3u8"; + String videoUrl = "https://rxs-video.elinkservice.cn/live/cameraid/" + channelIds[0] + "%24" + channelIds[channelIds.length - 1] + "/substream/1.m3u8"; if (jsonItem.get("deviceName").toString().contains("顺德")) { // System.out.println(jsonItem.get("channelId").toString()); +// System.out.println(jsonItem.get("channelName").toString()); System.out.println("INSERT INTO epv_monitor_details (url,customer_id,create_time) VALUES ('" + videoUrl + "','1550309684576591874',NOW());"); } // System.out.println(jsonItem.get("channelId").toString() + "//" + jsonItem.get("deviceName").toString());