yuan
6 天以前 84b131de4a1deb526066fc0f7e7514ac43838bf8
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;
    }
}