Commit ebcd2320a9f8831bd71add870a229ba7912dea81
1 parent
e2944938
修复推流鉴权
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java
| ... | ... | @@ -50,7 +50,7 @@ public interface UserMapper { |
| 50 | 50 | @ResultMap(value="roleMap") |
| 51 | 51 | List<User> selectAll(); |
| 52 | 52 | |
| 53 | - @Select("select * from (select user.*, concat(#{callId}_', pushKey) as str1 from user) as u where md5(u.str1) = #{sign}") | |
| 53 | + @Select("select * from (select user.*, concat(concat(#{callId}, '_'), pushKey) as str1 from user) as u where md5(u.str1) = #{sign}") | |
| 54 | 54 | List<User> checkPushAuthorityByCallIdAndSign(String callId, String sign); |
| 55 | 55 | |
| 56 | 56 | @Select("select * from user where md5(pushKey) = #{sign}") | ... | ... |
src/main/resources/all-application.yml