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"); }