fix: 临时调整在线搜索时间参数处理
- 暂时忽略 daysAgo 动态计算逻辑
This commit is contained in:
@@ -64,8 +64,9 @@ public class OnlineSearchTool : ISingletonDependency
|
|||||||
{
|
{
|
||||||
PageTime = new BaiduSearchPageTime
|
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("gte")] public string? Gte { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("lte")] public string? Lte { get; set; }
|
// [JsonPropertyName("lte")] public string? Lte { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user