From 796b44ea813a1133beae4f3a67f1c0263510c0c7 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 17 十一月 2024 09:45:07 +0800 Subject: [PATCH] 1 --- src/main/java/com/moon/server/service/all/PermsService.java | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/src/main/java/com/moon/server/service/all/PermsService.java b/src/main/java/com/moon/server/service/all/PermsService.java index c22b7ec..e857200 100644 --- a/src/main/java/com/moon/server/service/all/PermsService.java +++ b/src/main/java/com/moon/server/service/all/PermsService.java @@ -10,11 +10,8 @@ import java.util.List; import java.util.concurrent.TimeUnit; -/** - * 鎺堟潈鏈嶅姟 - * @author WWW - */ @Service +@SuppressWarnings("ALL") public class PermsService implements PermsMapper { @Resource PermsMapper permsMapper; @@ -130,30 +127,18 @@ return permsMapper.selectMenuRecursive(id, uid); } - /** - * 娓呴櫎璧勬簮缂撳瓨 - */ public void clearResCache() { redisService.clearKeys(RedisCacheKey.permsResKey("")); } - /** - * 娓呴櫎鍥惧眰缂撳瓨 - */ public void clearLayerCache() { redisService.clearKeys(RedisCacheKey.permsLayerKey("")); } - /** - * 娓呴櫎鎺堟潈缂撳瓨 - */ public void clearPermsCache() { redisService.clearKeys(RedisCacheKey.permsRootKey()); } - /** - * 娓呴櫎鎵�鏈夌紦瀛� - */ public void clearAllCache() { redisService.clearAll(); } -- Gitblit v1.9.3