diff --git a/WeChatApplet/Services/Impl/FrameworkService.cs b/WeChatApplet/Services/Impl/FrameworkService.cs index 3b5ed9d..f4a34bd 100644 --- a/WeChatApplet/Services/Impl/FrameworkService.cs +++ b/WeChatApplet/Services/Impl/FrameworkService.cs @@ -31,7 +31,7 @@ namespace YD_WeChatApplet.Api.Services.Impl // 先检查是否已存在相同的记录 var exist = await _sportsContext.Ai_ScanCodeLogin - .AnyAsync(x => x.Code == code && x.SchoolCode == schoolCode && x.TeacherId == teacherId); + .AnyAsync(x => x.Code == code && x.SchoolCode == schoolCode); if (exist) return true; // 已存在,认为成功