修复缓存工具读取bug
This commit is contained in:
parent
ac3680fda8
commit
af661249e6
|
|
@ -38,6 +38,7 @@ public class ConfigUtils {
|
||||||
map.put(config.getName(), config.getValue());
|
map.put(config.getName(), config.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConfigCache.set();
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -62,6 +63,7 @@ public class ConfigUtils {
|
||||||
.eq("name", name)
|
.eq("name", name)
|
||||||
.eq("type", type));
|
.eq("type", type));
|
||||||
|
|
||||||
|
ConfigCache.set();
|
||||||
return config.getValue();
|
return config.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -90,6 +92,7 @@ public class ConfigUtils {
|
||||||
return defaults;
|
return defaults;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConfigCache.set();
|
||||||
return config.getValue();
|
return config.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -123,6 +126,7 @@ public class ConfigUtils {
|
||||||
return new LinkedHashMap<>();
|
return new LinkedHashMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConfigCache.set();
|
||||||
return MapUtils.jsonToMap(config.getValue());
|
return MapUtils.jsonToMap(config.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue