|
@@ -13,11 +13,6 @@ import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
@SpringBootApplication
|
|
@SpringBootApplication
|
|
@EnableDubbo
|
|
@EnableDubbo
|
|
-//@RibbonClients(
|
|
|
|
-// value = {
|
|
|
|
-// @RibbonClient(name = "stocks-nacos",configuration = RibbonConfiguration.class)
|
|
|
|
-// }
|
|
|
|
-//)
|
|
|
|
public class OutpatientFrontServiceApplication {
|
|
public class OutpatientFrontServiceApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
@@ -25,9 +20,4 @@ public class OutpatientFrontServiceApplication {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- @Bean
|
|
|
|
- @LoadBalanced
|
|
|
|
- public RestTemplate getRestTemplate(RestTemplateBuilder builder){
|
|
|
|
- return builder.build();
|
|
|
|
- }
|
|
|
|
}
|
|
}
|