src/main/java/com/zy/system/controller/ConfigController.java
@@ -237,12 +237,7 @@ } private void refreshCacheData() { HashMap<String, String> systemConfigMap = new HashMap<>(); List<Config> configList = configService.list(new QueryWrapper<>()); for (Config config : configList) { systemConfigMap.put(config.getCode(), config.getValue()); } redisUtil.set(RedisKeyType.SYSTEM_CONFIG_MAP.key, systemConfigMap); configService.refreshSystemConfigCache(); } }