We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fa3f04 commit 8b02967Copy full SHA for 8b02967
1 file changed
simple-common/src/main/java/top/cadecode/sra/common/util/RedisUtil.java
@@ -57,7 +57,7 @@ public static Boolean del(String key) {
57
/**
58
* 删除 key
59
*/
60
- public static Boolean del(String key, long timeout, TimeUnit timeUnit) {
+ public static Boolean expire(String key, long timeout, TimeUnit timeUnit) {
61
return TEMPLATE.expire(key, timeout, timeUnit);
62
}
63
0 commit comments