修复动态获取nacos配置

This commit is contained in:
unknown
2022-06-28 11:14:54 +08:00
parent 94e8fb807a
commit ab8f6aba81
2 changed files with 13 additions and 12 deletions

View File

@@ -53,6 +53,7 @@ public class NacosUtils {
@Override
public void receiveConfigInfo(String configMsg) {
try {
commonProperties.clear();
commonProperties.load(new StringReader(configMsg));
} catch (IOException e) {
logger.error("监听nacos配置失败", e);