new exam progress update logic

This commit is contained in:
xiaomlove
2021-06-12 23:21:40 +08:00
parent 0e8ce200cd
commit 3eab502e31
12 changed files with 285 additions and 149 deletions
+4 -1
View File
@@ -53,7 +53,10 @@ class Test extends Command
*/
public function handle()
{
$examRep = new ExamRepository();
$examuser = ExamUser::query()->findOrFail(2);
$r = $examRep->updateProgress($examuser);
dd($r);
}
}