Commit 6667bfcf by 杨昕

code format

parent 1879c559
Pipeline #11414 passed with stages
in 44 seconds
......@@ -336,7 +336,7 @@ class MediaModel extends Eloquent
'description' => $request->description,
'start_time' => $request->start_time?$start_time:$media['start_time'],
'end_time' => $request->end_time?$end_time:$media['start_time'],
'duration' => $request->duration?$request->duration:$media['duration'],
'duration' => $request->duration??"0",
];
}else{
......@@ -354,7 +354,7 @@ class MediaModel extends Eloquent
'description' => $request->description,
'start_time' => $request->start_time?$start_time:$media['start_time'],
'end_time' => $request->end_time?$end_time:$media['start_time'],
'duration' => $request->duration?$request->duration:$media['duration'],
'duration' => $request->duration??"0",
];
}
......
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