Commit 471e9595 by 杨昕

添加视频字段

parent 16542e7c
Pipeline #9985 passed with stages
in 32 seconds
...@@ -318,7 +318,7 @@ class MediaModel extends Eloquent ...@@ -318,7 +318,7 @@ class MediaModel extends Eloquent
if (empty($media_catg)){ if (empty($media_catg)){
throw new \Exception("媒资类别不存在"); throw new \Exception("媒资类别不存在");
} }
$tmp[] = MediaModel::select("_id","book_num","book_name","secret_key")->whereIn('book_num',$media_ids)->get(); $tmp[] = MediaModel::select("_id","book_num","book_name","secret_key","media_url")->whereIn('book_num',$media_ids)->get();
} }
}catch (\Exception $exception){ }catch (\Exception $exception){
......
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