This commit is contained in:
2025-01-21 14:48:58 +08:00
parent 812a4b6331
commit 29715bda78
16 changed files with 336 additions and 116 deletions

View File

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