diff --git a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/CacheConstants.java b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/CacheConstants.java index d3623f892..bc7d0fc62 100644 --- a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/CacheConstants.java +++ b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/CacheConstants.java @@ -10,10 +10,10 @@ public interface CacheConstants { /** * 全局缓存,在缓存名称上加上该前缀表示该缓存不区分租户,比如: - *
+ * * {@code @Cacheable(value = CacheConstants.GLOBALLY+CacheConstants.MENU_DETAILS, key = "#roleId + '_menu'", unless = "#result == null")} */ - String GLOBALLY = "gl@"; + String GLOBALLY = "gl:"; /** * 菜单信息缓存