提交
This commit is contained in:
parent
46a5c1a730
commit
1bce08db4e
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user