diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs
index 472ea6f..403e4ba 100644
--- a/VOL.Ai/Services/AiAppService.cs
+++ b/VOL.Ai/Services/AiAppService.cs
@@ -1639,7 +1639,7 @@ namespace VOL.Ai.Services
// 7️⃣ 删除扫码记录
// =========================
_scanCodeLoginRepository.Delete(loginInfo);
- //await _scanCodeLoginRepository.SaveChangesAsync();
+ await _scanCodeLoginRepository.SaveChangesAsync();
return res;
}
diff --git a/VOL.Model/Ai/Response/Ai_FaceInfo.cs b/VOL.Model/Ai/Response/Ai_FaceInfo.cs
index 91a5f06..6a32673 100644
--- a/VOL.Model/Ai/Response/Ai_FaceInfo.cs
+++ b/VOL.Model/Ai/Response/Ai_FaceInfo.cs
@@ -76,14 +76,15 @@ namespace VOL.Model.Ai
public class Ai_TeacherFaceInfo
{
public int Id { get; set; }
- ///
- /// 学校Code
- ///
+
+ /////
+ ///// 学校Code
+ /////
//public string SchoolCode { get; set; }
- ///
- /// 学校名称
- ///
+ /////
+ ///// 学校名称
+ /////
//public string SchoolName { get; set; }
///
diff --git a/VOL.WebApi/Filter/ValidateDeviceFilter.cs b/VOL.WebApi/Filter/ValidateDeviceFilter.cs
index 6a62107..3efde3f 100644
--- a/VOL.WebApi/Filter/ValidateDeviceFilter.cs
+++ b/VOL.WebApi/Filter/ValidateDeviceFilter.cs
@@ -48,12 +48,12 @@ namespace VOL.WebApi.Filter
}
// 查询设备信息是否存在
- var res = await _deviceAssocSchoolRepository.FindAsyncFirst(x => x.SchoolCode == schoolCode && x.Code == code);
- if (res == null)
- {
- context.Result = new NotFoundObjectResult("设备信息不存在");
- return;
- }
+ //var res = await _deviceAssocSchoolRepository.FindAsyncFirst(x => x.SchoolCode == schoolCode && x.Code == code);
+ //if (res == null)
+ //{
+ // context.Result = new NotFoundObjectResult("设备信息不存在");
+ // return;
+ //}
// 执行下一个过滤器或操作
await next();