src/main/java/com/yeshi/buwan/service/imp/system/SystemConfigServiceImpl.java
@@ -25,4 +25,13 @@ public SystemConfig getConfigByKeyCache(String key) { return getConfigByKey(key); } @Cacheable(value = "configCache", key = "'system-getConfigValueByKey'+'-'+#key") @Override public String getConfigValueByKeyCache(String key) { SystemConfig config = getConfigByKeyCache(key); if (config == null) return null; return config.getValue(); } }