This commit is contained in:
tanglong 2026-01-08 18:56:02 +08:00
parent 46a5c1a730
commit 1bce08db4e

View File

@ -261,7 +261,7 @@ namespace VOL.Ai.Services
public async Task<Ai_StudentFaceInfo> 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;
}