优化:重构代码

This commit is contained in:
陈精华
2020-05-18 09:46:52 +08:00
committed by kl
parent f620c00785
commit 1edf4d83f1
12 changed files with 95 additions and 82 deletions

View File

@ -45,7 +45,7 @@ public class ConfigConstants {
}
@Value("${cache.enabled:true}")
public static void setCacheEnabled(String cacheEnabled) {
public void setCacheEnabled(String cacheEnabled) {
setCacheEnabledValueValue(Boolean.parseBoolean(cacheEnabled));
}