mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-16 12:08:12 +00:00
fix: 离职仍受到推送的问题
This commit is contained in:
parent
57f4082cad
commit
c2d05fb846
@ -199,7 +199,7 @@ class EmailNoticeTask extends AbstractTask
|
||||
if (empty($data)) {
|
||||
continue;
|
||||
}
|
||||
$user = User::find($userid);
|
||||
$user = User::whereNull('disable_at')->find($userid);
|
||||
if (empty($user)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user