$message, "title" => "工单提示", "link" => "order/workOrder/index?client_code={$number}", "mark" => 0, "delivered" => '0', ]; /** @var SeeLog $info */ $info = SeeLog::query()->create($default); $users = app("AuthorityService")->authorityGetUsers($authorityName); if ($users->count()==0)return; Notification::send($users,new RoutineNotification($info->toArray())); $info->users()->sync(array_column($users->toArray(),"id")); } }