exam progress update when get

This commit is contained in:
xiaomlove
2021-06-14 01:54:19 +08:00
parent 0c11ceaaa2
commit 67d68e73f7
4 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ class Exam
public function render($uid)
{
$examRep = new ExamRepository();
$userExam = $examRep->getUserExamProgress($uid, ExamUser::STATUS_NORMAL, ['exam']);
$userExam = $examRep->getUserExamProgress($uid, ExamUser::STATUS_NORMAL);
if (empty($userExam)) {
return '';
}