From af16d4b63bafd5ac7ccabdabc6a8017abf081759 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 01 八月 2019 16:35:15 +0800
Subject: [PATCH] 优化 添加房屋选择小区楼后,在添加时 floorId 无法覆盖的问题

---
 UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java |   16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java b/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java
index 45589ec..3784a50 100644
--- a/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java
+++ b/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java
@@ -1,24 +1,16 @@
 package com.java110.user;
 
 import com.java110.core.annotation.Java110ListenerDiscovery;
-import com.java110.event.center.DataFlowEventPublishing;
 import com.java110.event.service.BusinessServiceDataFlowEventPublishing;
-import com.java110.event.service.init.SystemStartLoadBusinessConfigure;
 import com.java110.service.init.ServiceStartInit;
-import org.apache.catalina.Context;
-import org.apache.catalina.connector.Connector;
-import org.apache.tomcat.util.descriptor.web.SecurityCollection;
-import org.apache.tomcat.util.descriptor.web.SecurityConstraint;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory;
-import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
 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.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.annotation.Bean;
 import org.springframework.http.converter.StringHttpMessageConverter;
@@ -37,13 +29,13 @@
  * @tag
  */
 @SpringBootApplication(
-        scanBasePackages = {"com.java110.service", "com.java110.user", "com.java110.core", "com.java110.cache"},
+        scanBasePackages = {"com.java110.service", "com.java110.user", "com.java110.core", "com.java110.cache", "com.java110.db"},
         excludeName = {"com.java110.core.smo.user"}
-        )
+)
 @EnableDiscoveryClient
 @Java110ListenerDiscovery(listenerPublishClass = BusinessServiceDataFlowEventPublishing.class,
         basePackages = {"com.java110.user.listener"})
-//@EnableFeignClients(basePackages = {"com.java110.core.smo"})
+@EnableFeignClients(basePackages = {"com.java110.core.smo.community"})
 public class UserServiceApplicationStart {
 
     private static Logger logger = LoggerFactory.getLogger(UserServiceApplicationStart.class);

--
Gitblit v1.8.0