java110 преди 5 години
родител
ревизия
905c9b96a1

+ 2 - 1
service-common/src/main/java/com/java110/common/CommonServiceApplicationStart.java

@@ -62,7 +62,8 @@ import java.nio.charset.Charset;
         "com.java110.intf.user",
         "com.java110.intf.store",
         "com.java110.intf.fee",
-        "com.java110.intf.community"
+        "com.java110.intf.community",
+        "com.java110.intf.order"
 })
 public class CommonServiceApplicationStart {
 

+ 2 - 1
service-community/src/main/java/com/java110/community/CommunityServiceApplicationStart.java

@@ -48,7 +48,8 @@ import java.nio.charset.Charset;
 @EnableDiscoveryClient
 @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
         basePackages = {"com.java110.community.listener"})
-@EnableFeignClients(basePackages = {"com.java110.intf.user", "com.java110.intf.common","com.java110.intf.fee"})
+@EnableFeignClients(basePackages = {"com.java110.intf.user", "com.java110.intf.common", "com.java110.intf.fee",
+        "com.java110.intf.order"})
 public class CommunityServiceApplicationStart {
 
     private static Logger logger = LoggerFactory.getLogger(CommunityServiceApplicationStart.class);

+ 2 - 0
service-front/src/main/java/com/java110/front/FrontServiceApplicationStart.java

@@ -12,6 +12,7 @@ import org.springframework.boot.web.client.RestTemplateBuilder;
 import org.springframework.cache.annotation.EnableCaching;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
 import org.springframework.cloud.client.loadbalancer.LoadBalanced;
+import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.ComponentScan;
@@ -47,6 +48,7 @@ import java.nio.charset.Charset;
 //@EnableConfigurationProperties(EventProperties.class)
 @EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
 @EnableCaching
+@EnableFeignClients(basePackages = {"com.java110.intf.order"})
 public class FrontServiceApplicationStart {
 
     private static Logger logger = LoggerFactory.getLogger(FrontServiceApplicationStart.class);

+ 1 - 1
service-report/src/main/java/com/java110/report/ReportServiceApplicationStart.java

@@ -37,7 +37,7 @@ import java.nio.charset.Charset;
 @EnableDiscoveryClient
 @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
         basePackages = {"com.java110.report.listener"})
-@EnableFeignClients(basePackages = {"com.java110.intf.user"})
+@EnableFeignClients(basePackages = {"com.java110.intf.user","com.java110.intf.order"})
 public class ReportServiceApplicationStart {
 
     private static Logger logger = LoggerFactory.getLogger(ReportServiceApplicationStart.class);

+ 2 - 1
service-store/src/main/java/com/java110/store/StoreServiceApplicationStart.java

@@ -37,7 +37,8 @@ import java.nio.charset.Charset;
         "com.java110.intf.community",
         "com.java110.intf.fee",
         "com.java110.intf.user",
-        "com.java110.intf.common"
+        "com.java110.intf.common",
+        "com.java110.intf.order"
 })
 public class StoreServiceApplicationStart {
 

+ 2 - 1
service-user/src/main/java/com/java110/user/UserServiceApplicationStart.java

@@ -35,7 +35,8 @@ import java.nio.charset.Charset;
 @EnableDiscoveryClient
 @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
         basePackages = {"com.java110.user.listener"})
-@EnableFeignClients(basePackages = {"com.java110.intf.community","com.java110.intf.common","com.java110.intf.store","com.java110.intf.fee"})
+@EnableFeignClients(basePackages = {"com.java110.intf.community","com.java110.intf.common","com.java110.intf.store",
+        "com.java110.intf.fee","com.java110.intf.order"})
 public class UserServiceApplicationStart {
 
     private static Logger logger = LoggerFactory.getLogger(UserServiceApplicationStart.class);