From 4348c321dfe200e4cdc430b1dc5b1caef4991261 Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期四, 18 四月 2019 23:46:00 +0800
Subject: [PATCH] 入驻小区 和退订开发测试完成

---
 WebService/src/main/java/com/java110/web/WebServiceApplicationStart.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/WebService/src/main/java/com/java110/web/WebServiceApplicationStart.java b/WebService/src/main/java/com/java110/web/WebServiceApplicationStart.java
index 69d0eca..ac1becb 100644
--- a/WebService/src/main/java/com/java110/web/WebServiceApplicationStart.java
+++ b/WebService/src/main/java/com/java110/web/WebServiceApplicationStart.java
@@ -6,6 +6,8 @@
 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;
@@ -33,6 +35,7 @@
 @SpringBootApplication(scanBasePackages={"com.java110.service","com.java110.web","com.java110.core","com.java110.cache"})
 @EnableDiscoveryClient
 //@EnableConfigurationProperties(EventProperties.class)
+
 public class WebServiceApplicationStart {
 
     /**
@@ -40,7 +43,7 @@
      * @return restTemplate
      */
     @Bean
-    @LoadBalanced
+    //@LoadBalanced
     public RestTemplate restTemplate() {
         StringHttpMessageConverter m = new StringHttpMessageConverter(Charset.forName("UTF-8"));
         RestTemplate restTemplate = new RestTemplateBuilder().additionalMessageConverters(m).build();

--
Gitblit v1.8.0