bug fixed

develop
old易 2024-12-11 15:40:12 +08:00
parent 55a3a10528
commit bb0799c9e5
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ namespace New_College.Tasks
var list = anghelper.HtmlCreatePageData(p.RegionCode);
list.ForEach(async c =>
{
// c.title = c.title.Replace($"{p.SimpleName}", "");
var newsinfo = await newsInfoServices.Query(e => e.Title.Trim() == c.title);
if (!newsinfo.Any() && c.pubtime.Year > DateTime.Now.Year - 1)
{