Commit 8993fb04 by 杨昕

更新分辨率

parent dcc9e50e
Pipeline #18745 passed with stages
in 1 minute 34 seconds
......@@ -270,10 +270,11 @@ class MediaModel extends Eloquent
'status' => $request->status??"0",
];
}
$id = MediaModel::insertGetId($data);
//处理封面图片以及分辨率
self::getScreeShotInfo($media_id);
LogModel::addlog(["添加媒资信息"=> $data,['媒资ID为:=> '.$id]]);
}catch (\Exception $exception){
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