소스 검색

未提交默认错误

Hai Lin 1 주 전
부모
커밋
9b00e88ae1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/ExamAnswerAnalysisService.php

+ 1 - 1
app/Services/ExamAnswerAnalysisService.php

@@ -1589,7 +1589,7 @@ class ExamAnswerAnalysisService
                         $questions[] = [
                             'question_id' => $questionId,
                             'student_answer' => null,
-                            'is_correct' => [1], // 未提交默认为正确
+                            'is_correct' => [0], // 未提交默认为正确
                             'teacher_comment' => null,
                             'score' => $defaultScore,
                             'score_obtained' => $defaultScore, // 正确则得满分