Commit f9b85917 by 杨昕

添加媒资名称

parent 2eb2b895
Pipeline #12959 passed with stages
in 50 seconds
...@@ -506,7 +506,7 @@ class MediaModel extends Eloquent ...@@ -506,7 +506,7 @@ class MediaModel extends Eloquent
try{ try{
$media = MediaModel::select('media_url','secret_key','duration')->find($media_id); $media = MediaModel::select('media_url','secret_key','duration','media_name')->find($media_id);
if (empty($media)){ if (empty($media)){
throw new \Exception("媒资不存在"); throw new \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