Commit f34db76c by 杨昕

排除掉未转码成功的视频

parent b17e81bb
Pipeline #13175 passed with stages
in 46 seconds
...@@ -67,6 +67,9 @@ class MediaModel extends Eloquent ...@@ -67,6 +67,9 @@ class MediaModel extends Eloquent
$aggregate[]['$match']['media_type_id'] = $request->category_id; $aggregate[]['$match']['media_type_id'] = $request->category_id;
} }
// status:代表未转码
$aggregate[]['$match']['status'] = ["\$ne" => '0'];
$aggregate[]['$match']['media_url'] = ["\$ne" => 'null'];
// $aggregate[]['$match']['_id'] = 'mda-864371b9a82d1e21'; // $aggregate[]['$match']['_id'] = 'mda-864371b9a82d1e21';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment