Laravel 複合查詢的閉包函數傳參
學了一個小技巧
$orgnizations = Orgnization::where('org_type_id', 1)->where(function($query) use($location_id, $subloc){
$query->where('location_id', $location_id)->orWhereIn('location_id', $subloc);
})->paginate(10);