mybatis-flex-solon-plugin:globalConfig 构建时,添加 FlexGlobalConfig.setConfig 绑定

This commit is contained in:
noear 2024-12-24 04:29:41 +08:00
parent 9f4fcd98db
commit 9a91fd88c4

View File

@ -102,6 +102,9 @@ public class MybatisFlexAutoConfiguration {
//增加事件总线扩展
EventBus.publish(globalConfig);
//绑定不能少
FlexGlobalConfig.setConfig(flexConfiguration.getEnvironment().getId(), globalConfig, true);
return globalConfig;
}