修改接口
This commit is contained in:
@@ -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小时过期
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user