这个博主说的非常的详细,在这里我就不去复制他的东西了,大家可以去借鉴下 https://www.doufuplus.com/blog/shiro-jwt01.html 转载于:https://www.cnblogs.com/jfaith/p/11527648.html