From 7317bc227e20a8055df7c5eb121518ae76e9a268 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Mon, 23 Jun 2025 09:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20spring.cache.globalKeyName?= =?UTF-8?q?s=20=E5=8F=82=E6=95=B0=EF=BC=8C=E6=8C=87=E5=AE=9A=E5=93=AA?= =?UTF-8?q?=E4=BA=9B=E4=B8=BA=E5=85=A8=E5=B1=80=E7=BC=93=E5=AD=98=EF=BC=8C?= =?UTF-8?q?=E8=8A=82=E7=9C=81=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 2c2bd748..63904faf 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -92,6 +92,10 @@ spring: cache: # 缓存及会话共享(专业版) isClusterMode: false + # 给缓存Key增加数据源名称前缀 v5.6.1 + keyPrefixWithDsName: false + # 指定全局Key,不加DsName前缀,当keyPrefixWithDsName设置为true的时有效(cacheName:key|*)v5.12.1 + globalKeyNames: sysCache:configMap,sysCache:moduleMap,sysCache:areaAllList # 清理全部缓存按钮所清理的缓存列表 clearNames: sysCache,corpCache,userCache,roleCache,fileUploadCache,msgPcPoolCache,cmsCache,bpmFormCache # 用户缓存