mobile 更新

This commit is contained in:
jianzhichu
2025-12-19 09:52:55 +08:00
parent 086a0ea5af
commit 0549688e6f
10 changed files with 229 additions and 119 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ namespace dy.net.repository
{
return await Db.Queryable<T>().Where(whereExpression).ToListAsync();
}
/// <summary>
/// 分页查询
/// </summary>
+4 -1
View File
@@ -17,7 +17,10 @@ namespace dy.net.repository
public async Task<List<DouyinVideoTopDto>> GetTopsOrderByCreateTime(int top)
{
return await Db.Queryable<DouyinVideo>().Select(x=>new DouyinVideoTopDto { Title=x.VideoTitle,Time=x.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")}).Take(top).OrderByDescending(x=>x.Time).ToListAsync();
}
/// <summary>
///
/// </summary>