Commit fc72b7ec by 杨昕

优化媒资列表

parent e506c7c6
Pipeline #14155 failed with stages
in 1 minute 32 seconds
...@@ -62,8 +62,8 @@ class MediaModel extends Eloquent ...@@ -62,8 +62,8 @@ class MediaModel extends Eloquent
} }
$match = [ $match = [
'status' => ["\$in" => [null,"1"]], 'status' => "1",
"media_url" => ["\$ne" => 'null'] // "media_url" => ["\$ne" => 'null']
]; ];
if (isset($request->media_id) && !empty($request->media_id)){ if (isset($request->media_id) && !empty($request->media_id)){
......
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