关注博主列表同步bug修复

This commit is contained in:
jianzhichu
2026-01-22 21:38:42 +08:00
parent b331e73bd3
commit e011bd089f
26 changed files with 424 additions and 89 deletions
+11
View File
@@ -100,6 +100,17 @@ namespace dy.net.model.entity
/// 保留原动态视频文件
/// </summary>
public bool KeepDynamicVideo { get; set; }
/// <summary>
/// 合集路径
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string MixPath { get; set; }
/// <summary>
/// 短剧路径
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string SeriesPath { get; set; }
}
}
+18 -13
View File
@@ -75,9 +75,14 @@ namespace dy.net.model.entity
/// 如果是0,则同步时会获取全部数据;如果是1,则同步时只获取最新的数据(也就是只查一次)
/// 接口可以将该值改为0,下次开始同步就会重新获取全部数据
/// </summary>
//public int CollHasSyncd { get; set; }
//public int FavHasSyncd { get; set; }
//public int UperSyncd { get; set; }
[SugarColumn(IsNullable = true)]
public int CollHasSyncd { get; set; }
[SugarColumn(IsNullable = true)]
public int FavHasSyncd { get; set; }
[SugarColumn(IsNullable = true)]
public int UperSyncd { get; set; }
/// <summary>
/// 关注的用户sec_user_id列表 json字符串存储
/// </summary>
@@ -116,16 +121,16 @@ namespace dy.net.model.entity
[SugarColumn(Length = 100, IsNullable = true, ColumnName = "useSinglePath")]
public bool UseSinglePath { get; set; } = true;//默认true
///// <summary>
///// 合集存储路径
///// </summary>
//[SugarColumn(Length = 500, IsNullable = true)]
//public string MixPath { get; set; }
/// <summary>
/// 合集存储路径
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string MixPath { get; set; }
///// <summary>
///// 短剧存储路径
///// </summary>
//[SugarColumn(Length = 500, IsNullable = true)]
//public string SeriesPath { get; set; }
/// <summary>
/// 短剧存储路径
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string SeriesPath { get; set; }
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
using dy.net.extension;
using dy.net.model.dto;
using dy.net.utils;
using SqlSugar;
namespace dy.net.model.entity
@@ -145,7 +146,7 @@ namespace dy.net.model.entity
public int IsMergeVideo { get; set; }
[SugarColumn(IsIgnore = true)]
public string ViedoTypeStr => ViedoType.GetDescription();
public string ViedoTypeStr => ViedoType.GetDesc();
[SugarColumn(IsIgnore = true)]
public string ViedoCate =>(string.IsNullOrWhiteSpace(Tag1) ? "" : Tag1) + "/" + (string.IsNullOrWhiteSpace(Tag2) ? "" : Tag2);