From 60e59005411f9af2462a93086a3a7ab61b4fdeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com> Date: Mon, 27 Apr 2026 10:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=88=87=E7=89=87=E6=9F=A5=E8=AF=A2=20=E8=BF=94=E5=9B=9Evod?= =?UTF-8?q?=E8=A7=86=E9=A2=91id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VideoAnalysisCore/AICore/GPT/GPTClient.cs | 2 +- VideoAnalysisCore/Controllers/Dto/ApiDto.cs | 4 ++++ VideoAnalysisCore/Controllers/LJZK_Controller.cs | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VideoAnalysisCore/AICore/GPT/GPTClient.cs b/VideoAnalysisCore/AICore/GPT/GPTClient.cs index 854d7bb..6e32dd5 100644 --- a/VideoAnalysisCore/AICore/GPT/GPTClient.cs +++ b/VideoAnalysisCore/AICore/GPT/GPTClient.cs @@ -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 PostJsonStreamAsync( diff --git a/VideoAnalysisCore/Controllers/Dto/ApiDto.cs b/VideoAnalysisCore/Controllers/Dto/ApiDto.cs index de2fa4c..4777035 100644 --- a/VideoAnalysisCore/Controllers/Dto/ApiDto.cs +++ b/VideoAnalysisCore/Controllers/Dto/ApiDto.cs @@ -447,6 +447,10 @@ namespace VideoAnalysisCore.Controllers.Dto /// 课程阶段 /// public virtual string? Stage { get; set; } + /// + /// 视频id + /// + public virtual string? VideoCode { get; set; } public virtual string? CourseLevel { get; set; } /// /// 视频所属云校ID diff --git a/VideoAnalysisCore/Controllers/LJZK_Controller.cs b/VideoAnalysisCore/Controllers/LJZK_Controller.cs index 0a6a329..2f1caef 100644 --- a/VideoAnalysisCore/Controllers/LJZK_Controller.cs +++ b/VideoAnalysisCore/Controllers/LJZK_Controller.cs @@ -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(),