mirror of https://github.com/jeecgboot/jeecg-boot
[bugfix]
1. 修复nacos命名问题; 2. 将RouteGroup对齐到nacosgroup; https://github.com/jeecgboot/jeecg-boot/issues/4743pull/4825/head
parent
7abc07424b
commit
b089bb96f1
|
@ -33,7 +33,7 @@ public class GatewayRoutersConfig {
|
|||
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) {
|
||||
this.routeGroup = routeGroup;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ public class GatewayRoutersConfig {
|
|||
this.serverAddr = serverAddr;
|
||||
}
|
||||
|
||||
@Value("${spring.cloud.nacos.discovery.namespace:#{null}}")
|
||||
@Value("${spring.cloud.nacos.config.namespace:#{null}}")
|
||||
public void setNamespace(String namespace) {
|
||||
this.namespace = namespace;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue