You've already forked FrameTour-BE
修改
This commit is contained in:
@ -93,4 +93,11 @@ public class JwtTokenUtil {
|
||||
}
|
||||
return parsingToken(token);
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
JwtInfo jwtInfo = new JwtInfo();
|
||||
jwtInfo.setUserId(3936121342868459520L);
|
||||
jwtInfo.setName("微信用户");
|
||||
System.out.println(generateToken(jwtInfo, 86400));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user