From 80f9d76904c5d28c77a4d9bbaca9daa328e7806c Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 07 五月 2019 00:26:57 +0800
Subject: [PATCH] web 服务 修改docker内容
---
CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java b/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java
index c19eff8..a124fbc 100644
--- a/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java
+++ b/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java
@@ -10,6 +10,7 @@
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
+import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.http.converter.StringHttpMessageConverter;
@@ -31,6 +32,7 @@
@EnableDiscoveryClient
@Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
basePackages = {"com.java110.comment.listener"})
+@EnableFeignClients(basePackages = {"com.java110.core.smo"})
public class CommentServiceApplicationStart {
private final static Logger logger = LoggerFactory.getLogger(CommentServiceApplicationStart.class);
--
Gitblit v1.8.0