From 5e724cc0628554b949f0102bee6294db8a23c7f5 Mon Sep 17 00:00:00 2001
From: wangyimeng <421132955@qq.com>
Date: 星期三, 06 七月 2022 15:33:43 +0800
Subject: [PATCH] Merge branch 'wvp-28181-2.0' of https://github.com/mrjackwang/wvp-GB28181-pro into wvp-28181-2.0
---
src/main/java/com/genersoft/iot/vmp/conf/WVPTimerTask.java | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/conf/WVPTimerTask.java b/src/main/java/com/genersoft/iot/vmp/conf/WVPTimerTask.java
index 3e72e29..93e2b87 100644
--- a/src/main/java/com/genersoft/iot/vmp/conf/WVPTimerTask.java
+++ b/src/main/java/com/genersoft/iot/vmp/conf/WVPTimerTask.java
@@ -17,9 +17,6 @@
@Autowired
private IMediaServerService mediaServerService;
- @Autowired
- private UserSetup userSetup;
-
@Value("${server.port}")
private int serverPort;
@@ -31,6 +28,6 @@
JSONObject jsonObject = new JSONObject();
jsonObject.put("ip", sipConfig.getIp());
jsonObject.put("port", serverPort);
- redisCatchStorage.updateWVPInfo(userSetup.getServerId(), jsonObject, 3);
+ redisCatchStorage.updateWVPInfo(jsonObject, 3);
}
}
--
Gitblit v1.8.0