!225 新增删除Hash中的某条数据

Merge pull request !225 from runphp/N/A
pull/222/MERGE
若依 2 years ago committed by Gitee
commit e7b9e12d15
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -243,6 +243,18 @@ public class RedisService
return redisTemplate.opsForHash().multiGet(key, hKeys);
}
/**
* Hash
*
* @param key Redis
* @param hKey Hash
* @return
*/
public boolean deleteCacheMapValue(final String key, final String hKey)
{
return Boolean.TRUE.equals(redisTemplate.opsForHash().delete(key, hKey));
}
/**
*
*

Loading…
Cancel
Save