diff --git a/blade-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java b/blade-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java index 00459d00c..9587b1e4d 100644 --- a/blade-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java +++ b/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");