fix: 返回类型错误,不是布尔类型

pull/226/head
runphp 3 years ago committed by Gitee
parent c8a108b93a
commit 3657bea488
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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

Loading…
Cancel
Save