src/main/java/com/ruoyi/project/system/service/impl/SysConfigServiceImpl.java
@@ -184,7 +184,7 @@ @Override public void clearConfigCache() { Collection<String> keys = redisCache.keys(CacheConstants.SYS_CONFIG_KEY + "*"); Collection<String> keys = redisCache.keys(CacheConstants.PREFIX + CacheConstants.SYS_CONFIG_KEY + "*"); redisCache.deleteObject(keys); } @@ -224,6 +224,6 @@ */ private String getCacheKey(String configKey) { return CacheConstants.SYS_CONFIG_KEY + configKey; return CacheConstants.PREFIX + CacheConstants.SYS_CONFIG_KEY + configKey; } }