Commit 9bc4c13e by 杨昕

修改默认时长为0字符串

parent e3e9d6eb
Pipeline #10666 passed with stages
in 44 seconds
...@@ -466,7 +466,7 @@ class MediaModel extends Eloquent ...@@ -466,7 +466,7 @@ class MediaModel extends Eloquent
} }
if (!isset($media['duration'])){ if (!isset($media['duration'])){
$media['duration'] = ""; $media['duration'] = "0";
} }
}catch (\Exception $exception){ }catch (\Exception $exception){
throw new DatabaseException($exception->getMessage()); throw new DatabaseException($exception->getMessage());
......
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