1. 修复nacos命名问题;
2. 将RouteGroup对齐到nacosgroup;
https://github.com/jeecgboot/jeecg-boot/issues/4743
pull/4825/head
miniFrank 2023-04-16 21:12:36 +08:00
parent 7abc07424b
commit b089bb96f1
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ public class GatewayRoutersConfig {
this.dataId = dataId + ".json"; this.dataId = dataId + ".json";
} }
@Value("${jeecg.route.config.group:DEFAULT_GROUP:#{null}}") @Value("${spring.cloud.nacos.config.group:DEFAULT_GROUP:#{null}}")
public void setRouteGroup(String routeGroup) { public void setRouteGroup(String routeGroup) {
this.routeGroup = routeGroup; this.routeGroup = routeGroup;
} }
@ -43,7 +43,7 @@ public class GatewayRoutersConfig {
this.serverAddr = serverAddr; this.serverAddr = serverAddr;
} }
@Value("${spring.cloud.nacos.discovery.namespace:#{null}}") @Value("${spring.cloud.nacos.config.namespace:#{null}}")
public void setNamespace(String namespace) { public void setNamespace(String namespace) {
this.namespace = namespace; this.namespace = namespace;
} }