新增 视频切片查询 返回vod视频id

This commit is contained in:
小肥羊 2026-04-27 10:25:33 +08:00
parent 65134e9c9e
commit 60e5900541
3 changed files with 6 additions and 1 deletions

View File

@ -230,7 +230,7 @@ namespace VideoAnalysisCore.AICore.GPT
}
}
await _workflowManager.AddTaskLog(chatRep.taskId, $"==>GPT请求失败次数过多!!!");
throw new Exception(DateTime.Now + "==>GPT请求失败次数过多!!!");
throw new Exception("==>GPT请求失败次数过多!!!");
}
public async Task<HttpResponseMessage> PostJsonStreamAsync(

View File

@ -447,6 +447,10 @@ namespace VideoAnalysisCore.Controllers.Dto
/// 课程阶段
/// </summary>
public virtual string? Stage { get; set; }
/// <summary>
/// 视频id
/// </summary>
public virtual string? VideoCode { get; set; }
public virtual string? CourseLevel { get; set; }
/// <summary>
/// 视频所属云校ID

View File

@ -361,6 +361,7 @@ namespace VideoAnalysisCore.Controllers
EndTime = s.EndTime,
Theme = s.Theme,
CloudSchoolId = s.CloudSchoolId,
VideoCode = s.TagId,
Stage = s.Stage.ToString(),
CourseLevel = ((Enum)(int)(s.CourseLevel ??CourselevelTypeEnum.)).ToString(),
GradeId = s.GradeId.ToString(),