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 | 15 | |
| 16 | 16 | <properties> |
| 17 | 17 | <java.version>1.8</java.version> |
| 18 | + <skipTests>true</skipTests> | |
| 18 | 19 | </properties> |
| 19 | 20 | |
| 20 | 21 | <dependencies> |
| ... | ... | @@ -85,10 +86,10 @@ |
| 85 | 86 | |
| 86 | 87 | <build> |
| 87 | 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 | 93 | </plugins> |
| 93 | 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 | 11 | import org.apache.http.impl.client.CloseableHttpClient; |
| 12 | 12 | import org.apache.http.impl.client.HttpClients; |
| 13 | 13 | import org.apache.http.util.EntityUtils; |
| 14 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| 14 | 15 | |
| 15 | 16 | import java.io.IOException; |
| 16 | 17 | import java.io.InputStream; |
| ... | ... | @@ -161,4 +162,4 @@ public class HttpClientUtils { |
| 161 | 162 | } |
| 162 | 163 | return null ; |
| 163 | 164 | } |
| 164 | -} | |
| 165 | 165 | \ No newline at end of file |
| 166 | +} | ... | ... |
cloud/consumer/src/main/java/com/example/consumer/control/ConsumerController.java
| 1 | 1 | package com.example.consumer.control; |
| 2 | 2 | |
| 3 | 3 | import com.example.consumer.bean.UserBean; |
| 4 | -import com.sun.org.glassfish.gmbal.ParameterNames; | |
| 5 | 4 | import org.springframework.beans.factory.annotation.Autowired; |
| 6 | 5 | import org.springframework.util.LinkedMultiValueMap; |
| 7 | 6 | import org.springframework.util.MultiValueMap; | ... | ... |
cloud/pom.xml