修复缓存工具读取bug

This commit is contained in:
TinyAnts 2023-04-03 18:17:47 +08:00
parent ac3680fda8
commit af661249e6
1 changed files with 4 additions and 0 deletions

View File

@ -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());
}