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 |    5 +++++
 1 files changed, 5 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 d434aee..a124fbc 100644
--- a/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java
+++ b/CommentService/src/main/java/com/java110/comment/CommentServiceApplicationStart.java
@@ -3,11 +3,14 @@
 import com.java110.core.annotation.Java110ListenerDiscovery;
 import com.java110.event.service.BusinessServiceDataFlowEventPublishing;
 import com.java110.service.init.ServiceStartInit;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 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;
@@ -29,7 +32,9 @@
 @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