diff --git a/AssetManager.Data/TiingoTicker.cs b/AssetManager.Data/TiingoTicker.cs index 255c349..7fe47f2 100644 --- a/AssetManager.Data/TiingoTicker.cs +++ b/AssetManager.Data/TiingoTicker.cs @@ -37,26 +37,4 @@ public class TiingoTicker /// [SugarColumn(ColumnDataType = "varchar(10)")] public string? PriceCurrency { get; set; } - - /// - /// 数据开始日期(startDate) - /// - [SugarColumn(IsNullable = true)] - public DateTime? StartDate { get; set; } - - /// - /// 数据结束日期(endDate) - /// - [SugarColumn(IsNullable = true)] - public DateTime? EndDate { get; set; } - - /// - /// 创建时间 - /// - public DateTime CreatedAt { get; set; } = DateTime.Now; - - /// - /// 更新时间 - /// - public DateTime UpdatedAt { get; set; } = DateTime.Now; } diff --git a/AssetManager.Infrastructure/Services/MarketDataService.cs b/AssetManager.Infrastructure/Services/MarketDataService.cs index 1081850..c0d77e8 100644 --- a/AssetManager.Infrastructure/Services/MarketDataService.cs +++ b/AssetManager.Infrastructure/Services/MarketDataService.cs @@ -1,3 +1,4 @@ +using System.Net.Http.Json; using System.Text.Json; using AssetManager.Models.DTOs; using Microsoft.Extensions.Logging;