Commit 8ef68b64 by 杨昕

test

parent 5efb400c
Pipeline #18771 passed with stages
in 2 minutes 9 seconds
......@@ -1080,7 +1080,7 @@ class MediaModel extends Eloquent
* @return mixed
* @throws DatabaseException
*/
private static function GetScreeShotInfo($media_id)
private static function getScreeShotInfo($media_id)
{
LogModel::addlog(["向第三方发送获取 screenshot 数据请求", $media_id]);
try {
......@@ -1202,6 +1202,8 @@ class MediaModel extends Eloquent
$create_time->setTimezone($tz);
$media['create_time'] = $create_time->format('Y-m-d H:i:s');
}
//处理封面图片以及分辨率
self::getScreeShotInfo($media["_id"]);
}
return new LengthAwarePaginator($tmp_arr, $count, $limit, $page, [
......
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