Browse Source

!196 修正OpenFeign部分情况下传递header中Authorization参数值为空导致获取用户信息失败问题

Merge pull request !196 from JellyBins/N/A
master
若依 2 years ago committed by Gitee
parent
commit
9b35679ba6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 2
      ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java

2
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/ServletUtils.java

@ -142,7 +142,7 @@ public class ServletUtils @@ -142,7 +142,7 @@ public class ServletUtils
public static Map<String, String> getHeaders(HttpServletRequest request)
{
Map<String, String> map = new LinkedHashMap<>();
Map<String, String> map = new LinkedCaseInsensitiveMap<>();
Enumeration<String> enumeration = request.getHeaderNames();
if (enumeration != null)
{

Loading…
Cancel
Save