新春公告

This commit is contained in:
“wanyongkang”
2021-02-08 16:42:02 +08:00
parent 05f5e189e0
commit 8733222b3f
3 changed files with 9 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ namespace Hncore.Pass.Vpn.Service
public async Task<List<ArticleEntity>> GetTop(int top, ArticleCatalog catalog)
{
return await this.Query(m => m.CatalogId == catalog).Take(top).ToListAsync();
return await this.Query(m => m.CatalogId == catalog).OrderByDescending(m => m.Id).Take(top).ToListAsync();
}
}