From dabee4ed7d503a06a78a7c12491416206a48eec1 Mon Sep 17 00:00:00 2001 From: XiaoQiTong <69035114+XiaoQiTong@users.noreply.github.com> Date: 星期六, 15 十月 2022 20:57:24 +0800 Subject: [PATCH] 增加指定流媒体收流功能 --- src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java index 57d2fdc..c7a44fd 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/UserMapper.java @@ -60,6 +60,6 @@ @ResultMap(value="roleMap") List<User> getUsers(); - @Delete("update user set pushKey=MD5(NOW()+#{id}) where id=#{id}") - int resetPushKey(int id); + @Update("update user set pushKey=#{pushKey} where id=#{id}") + int changePushKey(int id, String pushKey); } -- Gitblit v1.8.0