摘要: import java.security.SecureRandom; public class KeyGenerator { // 可使用的字符集合 private static final String CHAR_POOL = "abcdefghijklmnopqrstuvwxyz" + "ABC 阅读全文
posted @ 2026-07-15 20:03 畅畅c 阅读(12) 评论(0) 推荐(0)
摘要: 1. 添加 Spring Security 依赖 如果项目没有 Spring Security: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</ar 阅读全文
posted @ 2026-07-15 20:03 畅畅c 阅读(10) 评论(0) 推荐(0)