短剧、合集

This commit is contained in:
jianzhichu
2026-01-20 00:20:37 +08:00
parent 7c6ee0a8a6
commit 7175b3858a
25 changed files with 779 additions and 745 deletions
+1 -1
View File
@@ -59,6 +59,6 @@ namespace dy.net.model.dto
{
public string cookieId { get; set; }
public int cateType { get; set; }
public VideoTypeEnum cateType { get; set; }
}
}
+18 -1
View File
@@ -23,7 +23,24 @@ namespace dy.net.model.dto
/// 图文视频,无用了,但是不能删...
/// </summary>
[Description("图片视频")]
ImageVideo = 4
ImageVideo = 4,
/// <summary>
/// 自定义收藏夹
/// </summary>
[Description("收藏短剧")]
dy_custom_collect = 5,
/// <summary>
/// 收藏合集
/// </summary>
[Description("收藏合集")]
dy_mix = 6,
/// <summary>
/// 收藏短剧
/// </summary>
[Description("收藏短剧")]
dy_series = 7,
}
}
+9 -4
View File
@@ -1,4 +1,5 @@
using SqlSugar;
using dy.net.model.dto;
using SqlSugar;
namespace dy.net.model.entity
{
@@ -26,7 +27,7 @@ namespace dy.net.model.entity
[SugarColumn(Length = 500, IsNullable = false)]
public string Name { get; set; }
/// <summary>
/// 收藏夹Id
/// 收藏夹Id、合集Id、短剧Id
/// </summary>
[SugarColumn(Length =60,IsNullable =false)]
public string XId { get; set; }
@@ -45,12 +46,16 @@ namespace dy.net.model.entity
public bool Sync { get; set; }
/// <summary>
/// 收藏夹类型(0:自定义收藏夹,1:合集,2:短剧)
/// 收藏夹类型(5:自定义收藏夹,6:合集,7:短剧)
/// </summary>
public int CateType { get; set; }
public VideoTypeEnum CateType { get; set; }
public DateTime CreateTime { get; set; }
public DateTime UpdateTime { get; set; }
/// <summary>
/// 是否已完结
/// </summary>
public bool IsEnd { get; set; }
}
}
+6
View File
@@ -159,5 +159,11 @@ namespace dy.net.model.entity
/// 是否仅下载图片或仅下载音频
/// </summary>
public bool OnlyImgOrOnlyMp3 { get; set; }
/// <summary>
/// 自定义收藏夹、合集、短剧 绑定的Id
/// </summary>
[SugarColumn(Length =200,IsNullable =true)]
public string CateId { get; set; }
}
}
+6 -6
View File
@@ -23,7 +23,7 @@ namespace dy.net.model.response
//public object ShortDramaSingleInfo { get; set; } // 原始值为null,兼容扩展
[JsonProperty("series_infos")]
public List<DouyinShortDramaInfo> ShortDramaList { get; set; }
public List<DouyinSeriesInfo> SeriesList { get; set; }
[JsonProperty("status_code")]
public int ResponseStatusCode { get; set; }
@@ -57,7 +57,7 @@ namespace dy.net.model.response
/// <summary>
/// 抖音短剧核心信息
/// </summary>
public class DouyinShortDramaInfo
public class DouyinSeriesInfo
{
[JsonProperty("actors")]
public List<object> Actors { get; set; }
@@ -78,7 +78,7 @@ namespace dy.net.model.response
//public DouyinImageResource DarkModeIcon { get; set; }
[JsonProperty("desc")]
public string DramaDescription { get; set; }
public string SeriesDescription { get; set; }
//[JsonProperty("directors")]
//public List<object> Directors { get; set; }
@@ -139,7 +139,7 @@ namespace dy.net.model.response
/// 短剧ID
/// </summary>
[JsonProperty("series_id")]
public string DramaId { get; set; }
public string SeriesId { get; set; }
//[JsonProperty("series_interactive")]
//public DouyinDramaInteractiveConfig InteractiveConfig { get; set; }
@@ -147,13 +147,13 @@ namespace dy.net.model.response
/// 短剧名称
/// </summary>
[JsonProperty("series_name")]
public string DramaName { get; set; }
public string SeriesName { get; set; }
//[JsonProperty("series_paid_type_list")]
//public object PaidTypeList { get; set; } // 原始值为null,兼容扩展
[JsonProperty("series_price")]
public int DramaPrice { get; set; }
public int SeriesPrice { get; set; }
//[JsonProperty("series_rank_info")]
//public DouyinDramaRankInfo RankInfo { get; set; }