show-exam

This commit is contained in:
xiaomlove
2021-04-25 21:28:58 +08:00
parent 512af7511d
commit 7cfde3f95b
13 changed files with 206 additions and 17 deletions

View File

@@ -2598,12 +2598,11 @@ if ($msgalert)
}
//show the exam info
$examRepository = new \App\Repositories\ExamRepository();
$matchExams = $examRepository->listMatchExam($CURUSER['id']);
// if ($matchExams->isNotEmpty()) {
// dd($matchExams);
// }
$exam = new \Nexus\Exam\Exam();
$examHtml = $exam->render($CURUSER['id']);
if (!empty($examHtml)) {
msgalert("messages.php", $examHtml, "green");
}
}
if ($offlinemsg)
{