优化Feign拦截器,增加access_token、username、roles、client等重要参数传递

This commit is contained in:
zlt
2019-08-05 20:34:09 +08:00
parent b5f71b9506
commit 261b74bd38
6 changed files with 72 additions and 20 deletions
@@ -29,9 +29,8 @@
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-oauth2</artifactId>
<optional>true</optional>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
</dependencies>
</project>