From cf44785ae97e164a69ec541bd7dbaea562f9b54a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=8F=E8=82=A5=E7=BE=8A?= <1048382248@qq.com>
Date: Tue, 13 Jan 2026 17:49:37 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=A1=A5=E5=85=A8?=
=?UTF-8?q?=E9=83=A8=E5=88=86=E6=B3=A8=E5=85=A5=E7=9A=84=E6=B3=A8=E9=87=8A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
VideoAnalysis/Expand/AuthorizeExpand.cs | 5 +++++
VideoAnalysis/Program.cs | 6 ++++--
VideoAnalysisCore/AICore/FFMPGE/FFMPGEHandle.cs | 2 +-
VideoAnalysisCore/Common/Expand/AliyunOSSExpand.cs | 2 +-
VideoAnalysisCore/Common/Expand/SimpLetexExpand.cs | 5 +++++
VideoAnalysisCore/Common/Expand/SqlSugarExpand.cs | 4 ++++
VideoAnalysisCore/Common/RedisExpand.cs | 4 ++++
7 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/VideoAnalysis/Expand/AuthorizeExpand.cs b/VideoAnalysis/Expand/AuthorizeExpand.cs
index b2e1b54..c78ab9f 100644
--- a/VideoAnalysis/Expand/AuthorizeExpand.cs
+++ b/VideoAnalysis/Expand/AuthorizeExpand.cs
@@ -10,6 +10,11 @@ namespace Learn.VideoAnalysis.Expand
{
public static class AuthorizeExpand
{
+ ///
+ /// 框架API授权
+ ///
+ ///
+ ///
public static IServiceCollection AddPermissionAuthentication(this IServiceCollection services)
{
services.AddAuthentication()
diff --git a/VideoAnalysis/Program.cs b/VideoAnalysis/Program.cs
index a383bad..f537f54 100644
--- a/VideoAnalysis/Program.cs
+++ b/VideoAnalysis/Program.cs
@@ -46,18 +46,20 @@ namespace Learn.VideoAnalysis
builder.Services.AddPermissionAuthentication();
builder.Services.AddSqlSugarExpand();
builder.Services.AddRedisExpand();
-
+ //
builder.Services.AddSimpleTexOcrClient();
builder.Services.AddDownloadFileExpand();
builder.Services.AddFFMPGEExpand();
builder.Services.AddAlibabaCloudVod();
builder.Services.AddAliyunOSS();
+ //תд
builder.Services.AddSenseVoiceExpand();
+ builder.Services.AddFunASRNanoExpand();
builder.Services.AddSherpaVadExpand();
//builder.Services.AddSpeakerAI();
+ //ʱ
builder.Services.AddCoravel();
- //SenseVoice.Init();
//쳣
builder.Services.AddControllersWithViews(options =>
{
diff --git a/VideoAnalysisCore/AICore/FFMPGE/FFMPGEHandle.cs b/VideoAnalysisCore/AICore/FFMPGE/FFMPGEHandle.cs
index 05344fb..f79d884 100644
--- a/VideoAnalysisCore/AICore/FFMPGE/FFMPGEHandle.cs
+++ b/VideoAnalysisCore/AICore/FFMPGE/FFMPGEHandle.cs
@@ -22,7 +22,7 @@ namespace VideoAnalysisCore.AICore.FFMPGE
public static class FFMPGEExpand
{
///
- /// 添加跨域拓展
+ /// 添加FFPMPEG拓展
///
///
public static void AddFFMPGEExpand(this IServiceCollection services)
diff --git a/VideoAnalysisCore/Common/Expand/AliyunOSSExpand.cs b/VideoAnalysisCore/Common/Expand/AliyunOSSExpand.cs
index 53470ad..aaf0f07 100644
--- a/VideoAnalysisCore/Common/Expand/AliyunOSSExpand.cs
+++ b/VideoAnalysisCore/Common/Expand/AliyunOSSExpand.cs
@@ -51,7 +51,7 @@ namespace VideoAnalysisCore.Common.Expand
public static class AliyunOSSExpand
{
///
- /// 使用阿里云 vod拓展
+ /// 使用阿里云 OSS拓展
///
///
///
diff --git a/VideoAnalysisCore/Common/Expand/SimpLetexExpand.cs b/VideoAnalysisCore/Common/Expand/SimpLetexExpand.cs
index 5a4640a..11210a2 100644
--- a/VideoAnalysisCore/Common/Expand/SimpLetexExpand.cs
+++ b/VideoAnalysisCore/Common/Expand/SimpLetexExpand.cs
@@ -221,6 +221,11 @@ namespace VideoAnalysisCore.Common.Expand
///
public static class SSimpLetexExtensions
{
+ ///
+ /// 公式图片识别
+ ///
+ ///
+ ///
public static IServiceCollection AddSimpleTexOcrClient(this IServiceCollection services)
{
services.AddSingleton();
diff --git a/VideoAnalysisCore/Common/Expand/SqlSugarExpand.cs b/VideoAnalysisCore/Common/Expand/SqlSugarExpand.cs
index 5dc972d..7942bf6 100644
--- a/VideoAnalysisCore/Common/Expand/SqlSugarExpand.cs
+++ b/VideoAnalysisCore/Common/Expand/SqlSugarExpand.cs
@@ -19,6 +19,10 @@ namespace VideoAnalysisCore.Common.Expand
public static class SqlSugarExpand
{
public static bool ShowSQL = false;
+ ///
+ /// 数据库ORM拓展
+ ///
+ ///
public static void AddSqlSugarExpand(this IServiceCollection services)
{
diff --git a/VideoAnalysisCore/Common/RedisExpand.cs b/VideoAnalysisCore/Common/RedisExpand.cs
index 15effea..3247fc4 100644
--- a/VideoAnalysisCore/Common/RedisExpand.cs
+++ b/VideoAnalysisCore/Common/RedisExpand.cs
@@ -88,6 +88,10 @@ namespace VideoAnalysisCore.Common
Console.WriteLine($"{DateTime.Now}=>初始化 Redis任务队列");
service.AddSingleton();
}
+ ///
+ /// redis连接拓展(包含消息队列任务)
+ ///
+ ///
public static void AddRedisExpand(this IServiceCollection service)
{
Console.WriteLine($"{DateTime.Now}=>初始化 Redis");