This commit is contained in:
雷欧(林平凡)
2025-06-17 18:50:02 +08:00
parent faab92e9b5
commit e0f9952773
7 changed files with 59 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ import java.util.Date;
@Component
public class JwtUtils {
private final String secret = "your-secret-key"; // 应配置在 application.yml 中
private final String secret = "7b78f5cc9735091442361c78b863607d"; // 应配置在 application.yml 中
private final long expiration = 86400000 * 7; // 24小时
/**