添加feign拦截器,适配无网络隔离时token的传递

This commit is contained in:
杨戬
2019-03-09 16:09:52 +08:00
parent 4df9ae6453
commit 7ade964249
3 changed files with 64 additions and 0 deletions
@@ -28,5 +28,10 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>