Browse Source

🎉 去掉调试信息

test
smallchill 6 years ago
parent
commit
c260deada5
  1. 2
      blade-gateway/src/main/java/org/springblade/gateway/dynamic/service/DynamicRouteServiceListener.java

2
blade-gateway/src/main/java/org/springblade/gateway/dynamic/service/DynamicRouteServiceListener.java

@ -63,8 +63,6 @@ public class DynamicRouteServiceListener {
String group = nacosConfigProperties.getGroup();
String serverAddr = nacosDiscoveryProperties.getServerAddr();
ConfigService configService = NacosFactory.createConfigService(serverAddr);
String content = configService.getConfig(dataId, group, 5000);
System.out.println(content);
configService.addListener(dataId, group, new Listener() {
@Override
public void receiveConfigInfo(String configInfo) {

Loading…
Cancel
Save