芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/app/Listeners/TaskListener.php
task->is_private) { if ($event->notificationName == 'NewClientTask') { Notification::send($event->notifyUser, new NewClientTask($event->task)); } elseif ($event->notificationName == 'NewTask') { Notification::send($event->notifyUser, new NewTask($event->task)); } elseif ($event->notificationName == 'TaskUpdated') { Notification::send($event->notifyUser, new TaskUpdated($event->task)); } elseif ($event->notificationName == 'TaskCompleted') { Notification::send($event->notifyUser, new TaskCompleted($event->task, user())); } elseif ($event->notificationName == 'TaskCompletedClient') { Notification::send($event->notifyUser, new TaskCompletedClient($event->task)); } elseif ($event->notificationName == 'TaskUpdatedClient') { Notification::send($event->notifyUser, new TaskUpdatedClient($event->task)); } } } }