具体参考https://dev.to/keysh/spring-security-with-jwt-3j76 demo地址https://gitee.com/q975583865/springSecurityDemo.git