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 | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java b/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java
index 1126514..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;
@@ -43,7 +35,7 @@
@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