1、增加图片视频

2、优化代码结构
3、up主下载分类逻辑可配置
This commit is contained in:
jianzhichu
2025-11-23 00:46:41 +08:00
parent 7cacdaedd4
commit 8cef13c926
51 changed files with 1604 additions and 1667 deletions
+3 -3
View File
@@ -12,9 +12,9 @@ namespace dy.net.Controllers
[ApiController]
public class VideoController : ControllerBase
{
private readonly DyCollectVideoService dyCollectVideoService;
private readonly DouyinVideoService dyCollectVideoService;
public VideoController(DyCollectVideoService dyCollectVideoService)
public VideoController(DouyinVideoService dyCollectVideoService)
{
this.dyCollectVideoService = dyCollectVideoService;
}
@@ -23,7 +23,7 @@ namespace dy.net.Controllers
/// </summary>
/// <param name="dto"></param>
[HttpPost("paged")]
public async Task<IActionResult> GetPagedAsync(VideoPageRequestDTO dto)
public async Task<IActionResult> GetPagedAsync(DouyinVideoPageRequestDto dto)
{
var (list, totalCount) = await dyCollectVideoService.GetPagedAsync(dto.PageIndex, dto.PageSize, dto.Tag, dto.Author,dto.ViedoType,dto.Dates);
return Ok(new