From 8f5c84e834fdd03c897e4292bba34fd2f72e839d Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期三, 24 七月 2019 22:18:12 +0800
Subject: [PATCH] 修复 提示信息和加载进度不在居中问题
---
UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java b/UserService/src/main/java/com/java110/user/UserServiceApplicationStart.java
index e39d533..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;
@@ -36,11 +28,14 @@
* @date 2016骞�8鏈�6鏃�
* @tag
*/
-@SpringBootApplication(scanBasePackages = {"com.java110.service", "com.java110.user", "com.java110.core", "com.java110.cache"})
+@SpringBootApplication(
+ 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