From ae6e5ce836ce200bec6fb2a8ad511d0052756879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com>
Date: Thu, 6 Mar 2025 18:21:33 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E7=BB=93?=
=?UTF-8?q?=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
VideoAnalysis/Components/Resources/I18n.cs | 2 +-
VideoAnalysis/Controllers/Dto/ApiDto.cs | 4 ++
VideoAnalysis/Controllers/LJZK_Controller.cs | 11 +++++
.../Expand}/CoravelExpand.cs | 6 +--
VideoAnalysis/Expand/CorsExpand.cs | 41 +++++++++++++++++++
.../Expand}/SqlSugarExpand.cs | 20 ++++-----
VideoAnalysis/GlobalUsings.cs | 3 +-
VideoAnalysis/Program.cs | 4 ++
VideoAnalysisCore/Common/RedisExpand.cs | 36 +++++++++-------
VideoAnalysisCore/Job/NodeSubscriptionJob.cs | 26 ++++++++++--
VideoAnalysisCore/Model/NodeSubscription.cs | 4 ++
VideoAnalysisCore/Model/VideoTask.cs | 2 +-
12 files changed, 125 insertions(+), 34 deletions(-)
rename {VideoAnalysisCore/Common => VideoAnalysis/Expand}/CoravelExpand.cs (87%)
create mode 100644 VideoAnalysis/Expand/CorsExpand.cs
rename {VideoAnalysisCore/Common => VideoAnalysis/Expand}/SqlSugarExpand.cs (92%)
diff --git a/VideoAnalysis/Components/Resources/I18n.cs b/VideoAnalysis/Components/Resources/I18n.cs
index b0fb331..bc4604e 100644
--- a/VideoAnalysis/Components/Resources/I18n.cs
+++ b/VideoAnalysis/Components/Resources/I18n.cs
@@ -1,4 +1,4 @@
-namespace VideoAnalysisRazor.Resources;
+namespace Learn.VideoAnalysis.Components.Resources;
internal class I18n
diff --git a/VideoAnalysis/Controllers/Dto/ApiDto.cs b/VideoAnalysis/Controllers/Dto/ApiDto.cs
index 512610d..2a6139a 100644
--- a/VideoAnalysis/Controllers/Dto/ApiDto.cs
+++ b/VideoAnalysis/Controllers/Dto/ApiDto.cs
@@ -21,6 +21,10 @@ namespace Learn.VideoAnalysis.Controllers.Dto
/// 任务类型
///
public TaskTypeEnum? Type { get; set; }
+ ///
+ /// 学科类型
+ ///
+ public SubjectEnum? Subject { get; set; }
}
///
diff --git a/VideoAnalysis/Controllers/LJZK_Controller.cs b/VideoAnalysis/Controllers/LJZK_Controller.cs
index 5efa27e..8ced3cc 100644
--- a/VideoAnalysis/Controllers/LJZK_Controller.cs
+++ b/VideoAnalysis/Controllers/LJZK_Controller.cs
@@ -64,6 +64,17 @@ namespace Learn.VideoAnalysis.Controllers
return Ok(Enum.GetValues(type).Cast