Commit 27ae8e11552a475393ad44d690fcc4231af5591c
1 parent
c5e63bdb
Exists in
master
and in
1 other branch
no message
Showing
4 changed files
with
8 additions
and
7 deletions
Show diff stats
cloud/common/pom.xml
@@ -15,6 +15,7 @@ | @@ -15,6 +15,7 @@ | ||
15 | 15 | ||
16 | <properties> | 16 | <properties> |
17 | <java.version>1.8</java.version> | 17 | <java.version>1.8</java.version> |
18 | + <skipTests>true</skipTests> | ||
18 | </properties> | 19 | </properties> |
19 | 20 | ||
20 | <dependencies> | 21 | <dependencies> |
@@ -85,10 +86,10 @@ | @@ -85,10 +86,10 @@ | ||
85 | 86 | ||
86 | <build> | 87 | <build> |
87 | <plugins> | 88 | <plugins> |
88 | - <plugin> | ||
89 | - <groupId>org.springframework.boot</groupId> | ||
90 | - <artifactId>spring-boot-maven-plugin</artifactId> | ||
91 | - </plugin> | 89 | + <!--<plugin>--> |
90 | + <!--<groupId>org.springframework.boot</groupId>--> | ||
91 | + <!--<artifactId>spring-boot-maven-plugin</artifactId>--> | ||
92 | + <!--</plugin>--> | ||
92 | </plugins> | 93 | </plugins> |
93 | </build> | 94 | </build> |
94 | 95 |
cloud/common/src/main/java/com/sincere/common/util/HttpClientUtils.java
@@ -11,6 +11,7 @@ import org.apache.http.entity.StringEntity; | @@ -11,6 +11,7 @@ import org.apache.http.entity.StringEntity; | ||
11 | import org.apache.http.impl.client.CloseableHttpClient; | 11 | import org.apache.http.impl.client.CloseableHttpClient; |
12 | import org.apache.http.impl.client.HttpClients; | 12 | import org.apache.http.impl.client.HttpClients; |
13 | import org.apache.http.util.EntityUtils; | 13 | import org.apache.http.util.EntityUtils; |
14 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
14 | 15 | ||
15 | import java.io.IOException; | 16 | import java.io.IOException; |
16 | import java.io.InputStream; | 17 | import java.io.InputStream; |
@@ -161,4 +162,4 @@ public class HttpClientUtils { | @@ -161,4 +162,4 @@ public class HttpClientUtils { | ||
161 | } | 162 | } |
162 | return null ; | 163 | return null ; |
163 | } | 164 | } |
164 | -} | ||
165 | \ No newline at end of file | 165 | \ No newline at end of file |
166 | +} |
cloud/consumer/src/main/java/com/example/consumer/control/ConsumerController.java
1 | package com.example.consumer.control; | 1 | package com.example.consumer.control; |
2 | 2 | ||
3 | import com.example.consumer.bean.UserBean; | 3 | import com.example.consumer.bean.UserBean; |
4 | -import com.sun.org.glassfish.gmbal.ParameterNames; | ||
5 | import org.springframework.beans.factory.annotation.Autowired; | 4 | import org.springframework.beans.factory.annotation.Autowired; |
6 | import org.springframework.util.LinkedMultiValueMap; | 5 | import org.springframework.util.LinkedMultiValueMap; |
7 | import org.springframework.util.MultiValueMap; | 6 | import org.springframework.util.MultiValueMap; |
cloud/pom.xml
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <modules> | 17 | <modules> |
18 | <module>server1</module> | 18 | <module>server1</module> |
19 | <module>server2</module> | 19 | <module>server2</module> |
20 | - <module>autho</module> | 20 | + <!--<module>autho</module>--> |
21 | <module>common</module> | 21 | <module>common</module> |
22 | <module>geteway</module> | 22 | <module>geteway</module> |
23 | <module>haikang</module> | 23 | <module>haikang</module> |