diff --git a/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java b/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java index 54e047e04..f52f1e5fb 100644 --- a/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java +++ b/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java @@ -27,12 +27,12 @@ public class XPluginImpl implements Plugin { Properties defProps = Utils.loadProperties("META-INF/liteflow-default.properties"); if (defProps != null && defProps.size() > 0) { defProps.forEach((k, v) -> { - context.getProps().putIfAbsent(k, v); + context.cfg().putIfAbsent(k, v); }); } //是否启用 - boolean enable = context.getProps().getBool("liteflow.enable", false); + boolean enable = context.cfg().getBool("liteflow.enable", false); if (!enable) { return; diff --git a/pom.xml b/pom.xml index 7c832b3ec..bce9dc06b 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ 1.11.13 1.8.13 1.2.3 - 1.12.0 + 2.0.0 4.1.84.Final 31.1-jre 4.5.13