修复推流鉴权

pull/730/head
648540858 2023-01-13 11:19:30 +08:00
parent e2944938cd
commit ebcd2320a9
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public interface UserMapper {
@ResultMap(value="roleMap") @ResultMap(value="roleMap")
List<User> selectAll(); List<User> selectAll();
@Select("select * from (select user.*, concat(#{callId}_', pushKey) as str1 from user) as u where md5(u.str1) = #{sign}") @Select("select * from (select user.*, concat(concat(#{callId}, '_'), pushKey) as str1 from user) as u where md5(u.str1) = #{sign}")
List<User> checkPushAuthorityByCallIdAndSign(String callId, String sign); List<User> checkPushAuthorityByCallIdAndSign(String callId, String sign);
@Select("select * from user where md5(pushKey) = #{sign}") @Select("select * from user where md5(pushKey) = #{sign}")

View File

@ -168,7 +168,7 @@ user-settings:
# 保存移动位置历史轨迹true:保留历史数据false:仅保留最后的位置(默认) # 保存移动位置历史轨迹true:保留历史数据false:仅保留最后的位置(默认)
save-position-history: false save-position-history: false
# 点播等待超时时间,单位:毫秒 # 点播等待超时时间,单位:毫秒
play-timeout: 3000 play-timeout: 18000
# 上级点播等待超时时间,单位:毫秒 # 上级点播等待超时时间,单位:毫秒
platform-play-timeout: 60000 platform-play-timeout: 60000
# 是否开启接口鉴权 # 是否开启接口鉴权