mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-08 08:07:46 +08:00
修复缓存工具读取bug
This commit is contained in:
@@ -38,6 +38,7 @@ public class ConfigUtils {
|
||||
map.put(config.getName(), config.getValue());
|
||||
}
|
||||
|
||||
ConfigCache.set();
|
||||
return map;
|
||||
}
|
||||
|
||||
@@ -62,6 +63,7 @@ public class ConfigUtils {
|
||||
.eq("name", name)
|
||||
.eq("type", type));
|
||||
|
||||
ConfigCache.set();
|
||||
return config.getValue();
|
||||
}
|
||||
|
||||
@@ -90,6 +92,7 @@ public class ConfigUtils {
|
||||
return defaults;
|
||||
}
|
||||
|
||||
ConfigCache.set();
|
||||
return config.getValue();
|
||||
}
|
||||
|
||||
@@ -123,6 +126,7 @@ public class ConfigUtils {
|
||||
return new LinkedHashMap<>();
|
||||
}
|
||||
|
||||
ConfigCache.set();
|
||||
return MapUtils.jsonToMap(config.getValue());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user