From 269cd91dfeebc593e129fb89ccd11f80c5836fd4 Mon Sep 17 00:00:00 2001 From: noear Date: Thu, 2 Feb 2023 15:24:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91solon=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E4=B8=BA=202.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yomahub/liteflow/solon/integration/XPluginImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;