1、增加图片视频
2、优化代码结构 3、up主下载分类逻辑可配置
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace dy.net.dto
|
||||
{
|
||||
public class DouyinVideoPageRequestDto : PageRequestDto
|
||||
{
|
||||
// 3. 引用类型(string)如果允许为null,显式声明为 string?
|
||||
public string? Tag { get; set; }
|
||||
|
||||
public string? Author { get; set; }
|
||||
|
||||
public string? ViedoType { get; set; }
|
||||
|
||||
// 4. 泛型集合(List<string>)允许为null,声明为 List<string>?
|
||||
public List<string>? Dates { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class PageRequestDto
|
||||
{
|
||||
|
||||
public int PageIndex { get; set; }
|
||||
|
||||
public int PageSize { get; set; } = 10;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user