From 50a5414b138c0cddd1f61870fc780562cca066bc Mon Sep 17 00:00:00 2001 From: koogua Date: Tue, 16 Feb 2021 16:48:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfile=5Ftranscode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ChapterVod.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Services/ChapterVod.php b/app/Services/ChapterVod.php index f0ab6c78..1cd5e09a 100644 --- a/app/Services/ChapterVod.php +++ b/app/Services/ChapterVod.php @@ -3,6 +3,7 @@ namespace App\Services; use App\Repos\Chapter as ChapterRepo; +use App\Services\Vod as VodService; class ChapterVod extends Service { @@ -17,12 +18,12 @@ class ChapterVod extends Service return []; } - $vod = new Vod(); + $vodService = new VodService(); $result = []; foreach ($vod->file_transcode as $key => $file) { - $file['url'] = $vod->getPlayUrl($file['url']); + $file['url'] = $vodService->getPlayUrl($file['url']); $type = $this->getDefinitionType($file['height']); $result[$type] = $file; }