mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
mybatis-flex-solon-plugin:globalConfig 构建时,添加 FlexGlobalConfig.setConfig 绑定
This commit is contained in:
parent
9f4fcd98db
commit
9a91fd88c4
@ -102,6 +102,9 @@ public class MybatisFlexAutoConfiguration {
|
||||
//增加事件总线扩展
|
||||
EventBus.publish(globalConfig);
|
||||
|
||||
//绑定(不能少)
|
||||
FlexGlobalConfig.setConfig(flexConfiguration.getEnvironment().getId(), globalConfig, true);
|
||||
|
||||
return globalConfig;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user