fix: 临时调整在线搜索时间参数处理
- 暂时忽略 daysAgo 动态计算逻辑
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user