Merge remote-tracking branch 'origin/dev' into satoken

This commit is contained in:
疯狂的狮子li
2021-10-29 09:15:31 +08:00
18 changed files with 80 additions and 26 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>ruoyi-vue-plus</artifactId>
<groupId>com.ruoyi</groupId>
<version>3.2.0</version>
<version>3.3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@@ -259,6 +259,18 @@ public class RedisUtils {
return rMap.get(hKey);
}
/**
* 删除Hash中的数据
*
* @param key Redis键
* @param hKey Hash键
* @return Hash中的对象
*/
public static <T> T delCacheMapValue(final String key, final String hKey) {
RMap<String, T> rMap = client.getMap(key);
return rMap.remove(hKey);
}
/**
* 获取多个Hash中的数据
*