648540858
2022-10-18 80d2edeef25f752e0a80a6cff99e38f61c2d2cb2
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);
    }
}