Browse Source

⬆️ 更正seata配置

test
smallchill 5 years ago
parent
commit
9c609e319e
  1. 4
      blade-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java

4
blade-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java

@ -43,9 +43,9 @@ public class LauncherServiceImpl implements LauncherService {
// seata注册
PropsUtil.setProperty(props, "seata.tx-service-group", LauncherConstant.seataServiceGroup(appName));
PropsUtil.setProperty(props, "seata.registry.type", LauncherConstant.NACOS_MODE);
PropsUtil.setProperty(props, "seata.registry.type.nacos.server-addr", LauncherConstant.nacosAddr(profile));
PropsUtil.setProperty(props, "seata.registry.nacos.server-addr", LauncherConstant.nacosAddr(profile));
PropsUtil.setProperty(props, "seata.config.type", LauncherConstant.NACOS_MODE);
PropsUtil.setProperty(props, "seata.config.type.nacos.server-addr", LauncherConstant.nacosAddr(profile));
PropsUtil.setProperty(props, "seata.config.nacos.server-addr", LauncherConstant.nacosAddr(profile));
// dubbo注册
PropsUtil.setProperty(props, "dubbo.application.name", appName);
PropsUtil.setProperty(props, "dubbo.application.qos.enable", "false");

Loading…
Cancel
Save