mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 04:01:56 +08:00
Compare commits
2 Commits
v3.6.7
...
1bb432b98a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bb432b98a | ||
|
|
477b7472be |
@@ -22,7 +22,7 @@ public class FeignRequestInterceptor implements RequestInterceptor
|
||||
public void apply(RequestTemplate requestTemplate)
|
||||
{
|
||||
HttpServletRequest httpServletRequest = ServletUtils.getRequest();
|
||||
if (StringUtils.isNotNull(httpServletRequest))
|
||||
if (httpServletRequest != null)
|
||||
{
|
||||
Map<String, String> headers = ServletUtils.getHeaders(httpServletRequest);
|
||||
// 传递用户信息请求头,防止丢失
|
||||
|
||||
Reference in New Issue
Block a user