Merge pull request #4825 from miniFrank/bugfix/issue-4762

[bugfix]
pull/4938/head
JEECG 2023-04-17 13:14:31 +08:00 committed by GitHub
commit 5b5a2c0180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}