feat(cache/redisson): RedisUtils 新增递增、递减方法

This commit is contained in:
2024-05-13 21:57:42 +08:00
parent b5dd5c7f18
commit 596605b27b
3 changed files with 27 additions and 8 deletions

View File

@@ -74,6 +74,6 @@ public class JustAuthStateCacheRedisImpl implements AuthStateCache {
*/
@Override
public boolean containsKey(String key) {
return RedisUtils.hasKey(RedisUtils.formatKey(KEY_PREFIX, key));
return RedisUtils.exists(RedisUtils.formatKey(KEY_PREFIX, key));
}
}