This commit is contained in:
Dftre 2024-05-12 14:22:11 +08:00
parent 2e4771ce87
commit ef1710ce9b

View File

@ -74,7 +74,7 @@ public class CacheUtils {
}
public static boolean hasKey(String cacheName, String key) {
return ObjectUtils.isEmpty(get(cacheName, key));
return !ObjectUtils.isEmpty(get(cacheName, key));
}
/**