mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-06 12:28:10 +00:00
!196 修正OpenFeign部分情况下传递header中Authorization参数值为空导致获取用户信息失败问题
Merge pull request !196 from JellyBins/N/A
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user