芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/app/Observers/AwardObserver.php
company_id = company()->id; } } public function deleting(Award $award) { foreach($award->appreciations as $appreciations){ Notification::where('type', 'App\Notifications\NewAppreciation') ->whereNull('read_at') ->where(function ($q) use ($appreciations) { $q->where('data', 'like', '{"id":' . $appreciations->id . ',%'); })->delete(); } } }