From 0882c51c00c37372c365d92c948a9f769ddf6462 Mon Sep 17 00:00:00 2001 From: smallchill Date: Fri, 5 Jun 2020 15:42:31 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/springblade/auth/endpoint/BladeTokenEndPoint.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blade-auth/src/main/java/org/springblade/auth/endpoint/BladeTokenEndPoint.java b/blade-auth/src/main/java/org/springblade/auth/endpoint/BladeTokenEndPoint.java index d4307a20..3b8fe977 100644 --- a/blade-auth/src/main/java/org/springblade/auth/endpoint/BladeTokenEndPoint.java +++ b/blade-auth/src/main/java/org/springblade/auth/endpoint/BladeTokenEndPoint.java @@ -80,13 +80,14 @@ public class BladeTokenEndPoint { @GetMapping("/oauth/clear-cache") public Kv clearCache() { CacheUtil.clear(CacheConstant.BIZ_CACHE); - CacheUtil.clear(CacheConstant.MENU_CACHE); CacheUtil.clear(CacheConstant.USER_CACHE); CacheUtil.clear(CacheConstant.DICT_CACHE); CacheUtil.clear(CacheConstant.FLOW_CACHE); CacheUtil.clear(CacheConstant.SYS_CACHE); - CacheUtil.clear(CacheConstant.RESOURCE_CACHE); CacheUtil.clear(CacheConstant.PARAM_CACHE); + CacheUtil.clear(CacheConstant.RESOURCE_CACHE); + CacheUtil.clear(CacheConstant.MENU_CACHE); + CacheUtil.clear(CacheConstant.MENU_CACHE, Boolean.FALSE); return Kv.create().set("success", "true").set("msg", "success"); }