This commit is contained in:
wangkang
2017-07-29 10:18:34 +08:00
parent e21971373e
commit 21bc2b2a47
6 changed files with 266 additions and 89 deletions
@@ -7,7 +7,6 @@
package com.egridcloud.udf.core;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@@ -59,17 +58,6 @@ public class BaseApplication {
return new RestTemplate();
}
/**
* 描述 : restTemplate
*
* @return restTemplate
*/
@Bean
@LoadBalanced
RestTemplate restTemplate() {
return new RestTemplate();
}
/**
* 描述 : 分布式ID生成器
*