public function deleteByIds($ids) { $result = Setting::whereIn('id', $ids)->delete(); return $result; }