From 95a29cf86a13fd7dbf4c9c9da4358b13091efa0b Mon Sep 17 00:00:00 2001 From: niannian zheng Date: Fri, 6 Mar 2026 17:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=82=A1=E7=A5=A8=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E8=A1=A8=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AssetManager.Data/TiingoTicker.cs | 22 ------------------- .../Services/MarketDataService.cs | 1 + 2 files changed, 1 insertion(+), 22 deletions(-) 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;