feat: 将本地独有功能移植到 upstream 最新版本
基于 upstream/master (c5922f9) 新建分支,移植以下功能:
1. 扫码登录(DyQrCodeService + ConfigController 3个接口)
2. 视频预览组件(VideoPlayer.vue)
3. 下载配置服务(DownloadConfigService + AppConfig 6个扩展字段)
4. Gitea CI/CD(.gitea/workflows/deploy.yml)
5. 生产 Dockerfile(Dockerfile.prod,含中国镜像源配置)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -120,6 +120,38 @@ namespace dy.net.model.entity
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool CloseNfo { get; set; }
|
||||
|
||||
// -------- 下载配置扩展字段(本地新增)--------
|
||||
/// <summary>
|
||||
/// 是否启用自动下载
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? EnableAutoDownload { get; set; }
|
||||
/// <summary>
|
||||
/// 是否下载喜欢视频(videoType=1)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? DownloadFavorite { get; set; }
|
||||
/// <summary>
|
||||
/// 是否下载收藏视频(videoType=2)
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public bool? DownloadCollect { get; set; }
|
||||
/// <summary>
|
||||
/// 下载时间范围(天),0 表示不限
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? DownloadDaysRange { get; set; }
|
||||
/// <summary>
|
||||
/// 作者白名单(JSON 数组字符串)
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 2000, IsNullable = true)]
|
||||
public string AuthorWhitelist { get; set; }
|
||||
/// <summary>
|
||||
/// 作者黑名单(JSON 数组字符串)
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 2000, IsNullable = true)]
|
||||
public string AuthorBlacklist { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user