mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
task claimed count on going
This commit is contained in:
@@ -299,7 +299,7 @@ class Exam extends NexusModel
|
||||
return $this->belongsToMany(User::class, "exam_users", "exam_id", "uid");
|
||||
}
|
||||
|
||||
public function OnGoingUsers()
|
||||
public function onGoingUsers()
|
||||
{
|
||||
return $this->users()->wherePivot("status", ExamUser::STATUS_NORMAL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user