From 5d33226f941d578baf5fe01cab6c3dce098644db Mon Sep 17 00:00:00 2001 From: winter <2436197699@qq.com> Date: Thu, 18 Apr 2024 17:01:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20ai=E6=8E=A5=E5=8F=A3token=20header?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/teammodel/security/utils/JwtTokenUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/teammodel/security/utils/JwtTokenUtil.java b/src/main/java/cn/teammodel/security/utils/JwtTokenUtil.java index 2f067ae..40af7c3 100644 --- a/src/main/java/cn/teammodel/security/utils/JwtTokenUtil.java +++ b/src/main/java/cn/teammodel/security/utils/JwtTokenUtil.java @@ -161,7 +161,7 @@ public class JwtTokenUtil { } public TmdUserDetail getOutterTokenDetail(HttpServletRequest request) { - String token = request.getHeader("token"); + String token = request.getHeader("X-Auth-Authtoken"); if (StringUtils.isBlank(token)) { return null; }