修改接口

This commit is contained in:
2025-10-16 15:21:52 +08:00
parent 82220ce0b8
commit dd398c1c32
274 changed files with 22777 additions and 22905 deletions

View File

@@ -52,9 +52,9 @@ namespace FutureMailAPI.DTOs
public class AuthResponseDto
{
public string Token { get; set; } = string.Empty;
public string? RefreshToken { get; set; }
public DateTime Expires { get; set; }
public UserResponseDto User { get; set; } = new();
public string Token { get; set; } = string.Empty;
public string RefreshToken { get; set; } = string.Empty;
public int ExpiresIn { get; set; } = 3600; // 默认1小时过期
}
}