- GetNavHistoryAsync现在会自动检查是否有历史数据 - 无历史数据时自动调用BackfillNavHistoryInternalAsync - 拆分内部回填方法,避免重复验证权限
34 lines
860 B
C#
Executable File
34 lines
860 B
C#
Executable File
namespace AssetManager.Models.DTOs;
|
|
|
|
public class UserInfoResponse
|
|
{
|
|
public string? UserName { get; set; }
|
|
public string? MemberLevel { get; set; }
|
|
public int RunningDays { get; set; }
|
|
public string? Avatar { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? DefaultCurrency { get; set; }
|
|
}
|
|
|
|
public class UpdateUserRequest
|
|
{
|
|
public string? UserName { get; set; }
|
|
public string? Avatar { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? DefaultCurrency { get; set; }
|
|
}
|
|
|
|
public class UserStatsResponse
|
|
{
|
|
public int SignalsCaptured { get; set; }
|
|
public double WinRate { get; set; }
|
|
public int TotalTrades { get; set; }
|
|
public double AverageProfit { get; set; }
|
|
}
|
|
|
|
public class UpdateUserResponse
|
|
{
|
|
public string? Status { get; set; }
|
|
public string? UserName { get; set; }
|
|
}
|