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; }