You've already forked FrameTour-BE
修改bug
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user