From 1bce08db4eda260cb1edef0933dea03b534bcf57 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Thu, 8 Jan 2026 18:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VOL.Ai/Services/AiAppService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs index cc8d383..f5fc50e 100644 --- a/VOL.Ai/Services/AiAppService.cs +++ b/VOL.Ai/Services/AiAppService.cs @@ -261,7 +261,7 @@ namespace VOL.Ai.Services public async Task StudentFace(GetFaceParam paramDto) { - var faces = await ALiYunFace.SearchFace(paramDto.Base64, false); + var faces = await ALiYunFace.SearchFace(paramDto.Base64, true); foreach (var body in faces) { @@ -283,7 +283,7 @@ namespace VOL.Ai.Services }).FirstOrDefaultAsync(); if (student == null) - throw new Exception("未查询到学生信息"); + continue; return student; }