|
|
@@ -39,7 +39,7 @@ class ExamAnswerAnalysisController extends Controller
|
|
|
'paper_id' => 'required|string|max:255',
|
|
|
'student_id' => 'required|string|max:255',
|
|
|
'questions' => 'required|array|min:1',
|
|
|
- 'questions.*.question_bank_id' => 'required|string|max:255',
|
|
|
+ 'questions.*.question_bank_id' => 'required|numeric',
|
|
|
'questions.*.student_answer' => 'sometimes|string',
|
|
|
'questions.*.is_correct' => 'sometimes|array',
|
|
|
'questions.*.teacher_comment' => 'sometimes|string|nullable',
|