修正Database拼写错误。

pull/1017/head
AlphaWu 2023-08-20 15:50:24 +08:00
parent 985082d339
commit b5ccb1636f
5 changed files with 9 additions and 9 deletions

View File

@ -153,7 +153,7 @@ user-settings:
# 国标是否录制 # 国标是否录制
record-sip: true record-sip: true
# 是否将日志存储进数据库 # 是否将日志存储进数据库
logInDatebase: true logInDatabase: true
# 第三方匹配用于从stream钟获取有效信息 # 第三方匹配用于从stream钟获取有效信息
thirdPartyGBIdReg: [\s\S]* thirdPartyGBIdReg: [\s\S]*
``` ```

View File

@ -51,7 +51,7 @@ public class ApiAccessFilter extends OncePerRequestFilter {
filterChain.doFilter(servletRequest, servletResponse); filterChain.doFilter(servletRequest, servletResponse);
if (uriName != null && userSetting != null && userSetting.getLogInDatebase() != null && userSetting.getLogInDatebase()) { if (uriName != null && userSetting != null && userSetting.getLogInDatabase() != null && userSetting.getLogInDatabase()) {
LogDto logDto = new LogDto(); LogDto logDto = new LogDto();
logDto.setName(uriName); logDto.setName(uriName);

View File

@ -31,7 +31,7 @@ public class UserSetting {
private Boolean recordSip = Boolean.TRUE; private Boolean recordSip = Boolean.TRUE;
private Boolean logInDatebase = Boolean.TRUE; private Boolean logInDatabase = Boolean.TRUE;
private Boolean usePushingAsStatus = Boolean.TRUE; private Boolean usePushingAsStatus = Boolean.TRUE;
@ -132,12 +132,12 @@ public class UserSetting {
this.interfaceAuthenticationExcludes = interfaceAuthenticationExcludes; this.interfaceAuthenticationExcludes = interfaceAuthenticationExcludes;
} }
public Boolean getLogInDatebase() { public Boolean getLogInDatabase() {
return logInDatebase; return logInDatabase;
} }
public void setLogInDatebase(Boolean logInDatebase) { public void setLogInDatabase(Boolean logInDatabase) {
this.logInDatebase = logInDatebase; this.logInDatabase = logInDatabase;
} }
public String getServerId() { public String getServerId() {

View File

@ -61,7 +61,7 @@ public class LogController {
query = null; query = null;
} }
if (!userSetting.getLogInDatebase()) { if (!userSetting.getLogInDatabase()) {
logger.warn("自动记录日志功能已关闭,查询结果可能不完整。"); logger.warn("自动记录日志功能已关闭,查询结果可能不完整。");
} }

View File

@ -178,7 +178,7 @@ user-settings:
# 国标是否录制 # 国标是否录制
record-sip: true record-sip: true
# 是否将日志存储进数据库 # 是否将日志存储进数据库
logInDatebase: true logInDatabase: true
# 使用推流状态作为推流通道状态 # 使用推流状态作为推流通道状态
use-pushing-as-status: true use-pushing-as-status: true
# 使用来源请求ip作为streamIp,当且仅当你只有zlm节点它与wvp在一起的情况下开启 # 使用来源请求ip作为streamIp,当且仅当你只有zlm节点它与wvp在一起的情况下开启