fanxw 5 år sedan
förälder
incheckning
71ea73efcd
2 ändrade filer med 7 tillägg och 1 borttagningar
  1. 6 0
      pom.xml
  2. 1 1
      src/main/java/com/chinaitop/InterceptorConfig.java

+ 6 - 0
pom.xml

@@ -103,6 +103,12 @@
103 103
             <version>1.3.2</version>
104 104
             <scope>compile</scope>
105 105
         </dependency>
106
+        <!-- 调用http接口需要 -->
107
+        <dependency>
108
+            <groupId>org.apache.httpcomponents</groupId>
109
+            <artifactId>httpclient</artifactId>
110
+            <version>4.5.6</version>
111
+        </dependency>
106 112
     </dependencies>
107 113
 
108 114
 	<dependencyManagement>

+ 1 - 1
src/main/java/com/chinaitop/InterceptorConfig.java

@@ -5,7 +5,7 @@ import org.springframework.context.annotation.Configuration;
5 5
 import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
6 6
 import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
7 7
 
8
-@Configuration
8
+//@Configuration
9 9
 public class InterceptorConfig extends WebMvcConfigurationSupport {
10 10
 
11 11
 	@Bean