新春公告
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user