mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
【更新】solon 版本升为 2.0.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user