From 41616f726dafafe7c015bf4f3e02a7aa9488a3a2 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期一, 07 三月 2022 10:47:06 +0800 Subject: [PATCH] 修复导入通道时无平台关联时的bug --- src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java | 42 +++++++++++++++++++++++++++++++----------- 1 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java b/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java index 13831b4..d1d0e20 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/UserSetup.java @@ -19,15 +19,19 @@ private Long playTimeout = 18000L; - private Boolean waitTrack = Boolean.FALSE; - private Boolean interfaceAuthentication = Boolean.TRUE; - private Boolean recordPushLive = Boolean.FALSE; + private Boolean recordPushLive = Boolean.TRUE; + + private Boolean recordSip = Boolean.TRUE; private Boolean logInDatebase = Boolean.TRUE; + private Boolean redisConfig = Boolean.TRUE; + private String serverId = "000000"; + + private String thirdPartyGBIdReg = "[\\s\\S]*"; private List<String> interfaceAuthenticationExcludes = new ArrayList<>(); @@ -49,10 +53,6 @@ public Long getPlayTimeout() { return playTimeout; - } - - public Boolean isWaitTrack() { - return waitTrack; } public Boolean isInterfaceAuthentication() { @@ -83,10 +83,6 @@ this.playTimeout = playTimeout; } - public void setWaitTrack(Boolean waitTrack) { - this.waitTrack = waitTrack; - } - public void setInterfaceAuthentication(boolean interfaceAuthentication) { this.interfaceAuthentication = interfaceAuthentication; } @@ -114,4 +110,28 @@ public void setServerId(String serverId) { this.serverId = serverId; } + + public String getThirdPartyGBIdReg() { + return thirdPartyGBIdReg; + } + + public void setThirdPartyGBIdReg(String thirdPartyGBIdReg) { + this.thirdPartyGBIdReg = thirdPartyGBIdReg; + } + + public Boolean getRedisConfig() { + return redisConfig; + } + + public void setRedisConfig(Boolean redisConfig) { + this.redisConfig = redisConfig; + } + + public Boolean getRecordSip() { + return recordSip; + } + + public void setRecordSip(Boolean recordSip) { + this.recordSip = recordSip; + } } -- Gitblit v1.8.0