修改bug

This commit is contained in:
longbinbin
2024-12-11 14:35:42 +08:00
parent e0ee413f65
commit 18f7f8a943
8 changed files with 98 additions and 39 deletions

View File

@ -74,7 +74,8 @@ public class JwtAnalysisUtil {
}
Long userId = null;
if (body.get("userId")!=null) {
userId= (Long) body.get("userId");
String strUserId = StringUtil.a(body.get("userId"));
userId= Long.parseLong(strUserId);
}
return new JwtInfo(StringUtil.a(body.get("name")),
userId,