Skip to content

Commit 8b02967

Browse files
committed
fix: RedisUtil 方法名称不规范
1 parent 5fa3f04 commit 8b02967

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • simple-common/src/main/java/top/cadecode/sra/common/util

simple-common/src/main/java/top/cadecode/sra/common/util/RedisUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static Boolean del(String key) {
5757
/**
5858
* 删除 key
5959
*/
60-
public static Boolean del(String key, long timeout, TimeUnit timeUnit) {
60+
public static Boolean expire(String key, long timeout, TimeUnit timeUnit) {
6161
return TEMPLATE.expire(key, timeout, timeUnit);
6262
}
6363

0 commit comments

Comments
 (0)