From 10e99c818e434b3e2a8b6a1398e92c49da716c54 Mon Sep 17 00:00:00 2001 From: koogua Date: Sat, 19 Jun 2021 10:55:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=8E=9F=E8=85=BE=E8=AE=AF=E4=BA=91?= =?UTF-8?q?=E7=82=B9=E6=92=AD=E7=9A=84=E5=9C=B0=E5=9D=80=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ChapterVod.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/ChapterVod.php b/app/Services/ChapterVod.php index 26e5e9ee..3c0f34b3 100644 --- a/app/Services/ChapterVod.php +++ b/app/Services/ChapterVod.php @@ -44,9 +44,9 @@ class ChapterVod extends Service $result = []; foreach ($vod->file_transcode as $key => $file) { - $url = $vodService->getPlayUrl($file['url']); + $file['url'] = $vodService->getPlayUrl($file['url']); $type = $this->getDefinitionType($file['height']); - $result[$type] = ['url' => $url]; + $result[$type] = $file; } return $result;