新增 阿里云vod配置

This commit is contained in:
小肥羊 2026-04-20 17:46:08 +08:00
parent 999cef2073
commit f4c90e8606
3 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "10.0.6",
"commands": [
"dotnet-ef"
],
"rollForward": false
}
}
}

View File

@ -52,6 +52,7 @@ namespace Learn.VideoAnalysis.API
builder.Services.AddHttpClient();
builder.Services.AddSqlSugarExpand();
builder.Services.AddRedisExpand(false);
builder.Services.AddAlibabaCloudVod();
builder.Services.AddCoravel();
builder.Services.AddCorsExpand();

View File

@ -45,7 +45,9 @@ namespace VideoAnalysisCore.Controllers
public LJZK_Controller(IMapper mp, Repository<NodeSubscription> nodesubscriptionDB,
Repository<VideoTask> videoTaskDB = null, Repository<VideoKonwPoint> videoKonwPointDB = null
, Repository<NodePackageInfo> nodePackageInfoDB = null, Repository<VideoQuestion> videoQuestionDB = null, Repository<VideoQuestionKonw> videoQuestionKonwDB = null, Repository<CourseInfo> courseInfoDB = null, RedisManager redisManager = null, Repository<VideoTaskStage> videoTaskStageDB = null, Client vodClient = null)
, Repository<NodePackageInfo> nodePackageInfoDB = null, Repository<VideoQuestion> videoQuestionDB = null,
Repository<VideoQuestionKonw> videoQuestionKonwDB = null, Repository<CourseInfo> courseInfoDB = null,
RedisManager redisManager = null, Repository<VideoTaskStage> videoTaskStageDB = null, Client vodClient = null)
{
this.mp = mp;
this.nodesubscriptionDB = nodesubscriptionDB;
@ -406,7 +408,6 @@ namespace VideoAnalysisCore.Controllers
}
catch (Exception ex)
{
return BadRequest("获取存储的视频信息失败!" + ex.Message);
}