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

@@ -36,7 +36,7 @@ public class BehaviorCaptchaCacheServiceImpl implements CaptchaCacheService {
@Override
public boolean exists(String key) {
return RedisUtils.hasKey(key);
return RedisUtils.exists(key);
}
@Override