完成前端改造
1、下一步实现各个分类下载视频中重复视频去除-可配置是否去重
This commit is contained in:
+4
-1
@@ -36,7 +36,10 @@ namespace dy.net.model
|
||||
/// <summary>
|
||||
/// 日志保留天数,防止容器日志太多,默认10天
|
||||
/// </summary>
|
||||
public int KeepLogDay { get; set; } = 10;
|
||||
public int LogKeepDay { get; set; } = 10;
|
||||
|
||||
[SugarColumn(IsIgnore=true)]
|
||||
public bool DownImageVideoFromEnv { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using SqlSugar;
|
||||
using dy.net.dto;
|
||||
using dy.net.extension;
|
||||
using SqlSugar;
|
||||
|
||||
namespace dy.net.model
|
||||
{
|
||||
@@ -132,13 +134,13 @@ namespace dy.net.model
|
||||
public string SyncTimeStr => SyncTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
/// <summary>
|
||||
/// 1喜欢的,2收藏的,3关注的
|
||||
/// 1喜欢的,2收藏的,3关注的 ,4 图片视频
|
||||
/// </summary>
|
||||
[SugarColumn(Length =200,IsNullable =true)]
|
||||
public string ViedoType { get; set; }
|
||||
public VideoTypeEnum ViedoType { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ViedoTypeStr => ViedoType == "1" ? "喜欢的" : (ViedoType == "2"? "收藏的":"关注的");
|
||||
public string ViedoTypeStr => ViedoType.GetDescription();
|
||||
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string ViedoCate =>(string.IsNullOrWhiteSpace(Tag1) ? "" : Tag1) + "/" + (string.IsNullOrWhiteSpace(Tag2) ? "" : Tag2);
|
||||
|
||||
Reference in New Issue
Block a user