|
@@ -26,10 +26,11 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
- <!-- 使用 Apache HttpClient -->
|
|
|
+
|
|
|
+ <!-- 或使用 OkHttp -->
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.httpcomponents</groupId>
|
|
|
- <artifactId>httpclient</artifactId>
|
|
|
+ <groupId>io.github.openfeign</groupId>
|
|
|
+ <artifactId>feign-okhttp</artifactId>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
</project>
|