From 46a5c1a730a3063bf67ed28de26f8f63b903ef50 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Sat, 18 Oct 2025 09:40:10 +0800 Subject: [PATCH] log --- VOL.Ai/Services/AiAppService.cs | 4 +--- VOL.WebApi/Startup.cs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index 508764a..cc8d383 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -180,9 +180,7 @@ namespace VOL.Ai.Services var url = ALiYunOss.Upload(file, path, name); var updateModels = await _levelExamDataRepository.FindAsync(x => x.SchoolCode == paramDto.SchoolCode && - x.Code == paramDto.Code && - x.ClassRoomRecordId == paramDto.ClassRoomRecordId && - x.FileName == name); + x.FileName == name); updateModels.ForEach(x => { diff --git a/VOL.WebApi/Startup.cs b/VOL.WebApi/Startup.cs index ac947df..7410f52 100644 --- a/VOL.WebApi/Startup.cs +++ b/VOL.WebApi/Startup.cs @@ -285,7 +285,7 @@ namespace VOL.WebApi //app.UseQuartz(env); } //接口输入输出日志中间件 - app.UseMiddleware(); + //app.UseMiddleware(); app.UseMiddleware(); app.UseStaticFiles().UseStaticFiles(new StaticFileOptions {