瀏覽代碼

未提交默认错误

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, // 正确则得满分