fix: 临时调整在线搜索时间参数处理

- 暂时忽略 daysAgo 动态计算逻辑
This commit is contained in:
ccnetcore
2026-01-09 00:05:51 +08:00
parent 2544c01e9d
commit d092254822

View File

@@ -64,8 +64,9 @@ public class OnlineSearchTool : ISingletonDependency
{
PageTime = new BaiduSearchPageTime
{
Gte = $"now-{daysAgo.Value}d/d",
Lte = "now"
//暂时不处理
// Gte = $"now-{daysAgo.Value}d/d",
Gte = "now-1w/d"
}
}
};
@@ -185,7 +186,7 @@ public class BaiduSearchPageTime
{
[JsonPropertyName("gte")] public string? Gte { get; set; }
[JsonPropertyName("lte")] public string? Lte { get; set; }
// [JsonPropertyName("lte")] public string? Lte { get; set; }
}
/// <summary>