feat: 视频预览/数据看板/下载配置 三项业务功能
- 新增视频预览:VideoPlayer 组件、VideoController/DyCollectVideoService/Repository、VideoPageRequestDTO 对应后端改动 - 新增数据看板:workplace/statics.vue、RecordTable、相关 store/http/axios 改动 - 新增下载配置:DownloadConfigService、ConfigController、AppSet.vue、AppConfig - 其他:DyHttpClientService / 同步 Job(Collect, Favorit) / Cookie 表 / CommonService / ServiceExtension 的配套调整 - 仓库卫生:.gitignore 追加 feiniu 过滤;运维脚本归档到 docs/scripts/
This commit is contained in:
@@ -20,5 +20,41 @@ namespace dy.net.model
|
||||
/// 每次查询数量
|
||||
/// </summary>
|
||||
public int BatchCount { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用自动下载(默认false,不自动下载)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? EnableAutoDownload { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 下载时间范围(天数,例如:30表示只下载最近30天的视频,0表示不限制)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? DownloadDaysRange { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 作者白名单(JSON数组,例如:["作者1","作者2"],为空则不限制)
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 2000, IsNullable = true)]
|
||||
public string AuthorWhitelist { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作者黑名单(JSON数组,例如:["作者1","作者2"],为空则不限制)
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 2000, IsNullable = true)]
|
||||
public string AuthorBlacklist { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否下载喜欢的视频(默认false)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? DownloadFavorite { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 是否下载收藏的视频(默认false)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? DownloadCollect { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user