改进 被封禁的用户无法参加
This commit is contained in:
parent
9e1b85697e
commit
dd49c870f6
@ -78,6 +78,6 @@ public function scopeBirthday()
|
|||||||
{
|
{
|
||||||
/** @noinspection PhpUndefinedMethodInspection */
|
/** @noinspection PhpUndefinedMethodInspection */
|
||||||
return $this->select(['id', 'name', 'birthday_at', 'email_md5', 'created_at'])->whereMonth('birthday_at', now()->month)
|
return $this->select(['id', 'name', 'birthday_at', 'email_md5', 'created_at'])->whereMonth('birthday_at', now()->month)
|
||||||
->whereDay('birthday_at', now()->day);
|
->whereDay('birthday_at', now()->day)->whereNull('banned_at');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user