|
@@ -408,7 +408,7 @@ class PostRepositories
|
|
|
$id = $request['id'];
|
|
|
}
|
|
|
$where[] = ['type', 'video'];
|
|
|
- if(isset($request['type'])){
|
|
|
+ if(isset($request['type']) && $request['type']){
|
|
|
if($request['type'] == 'hot'){
|
|
|
$ids = Redis::get('hotVideoIds');
|
|
|
if(!$ids){
|