mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-30 11:35:13 +00:00
更新
This commit is contained in:
@@ -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生成器
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user