From cd953adcc0bced99e962f5ab52bf7b57df186964 Mon Sep 17 00:00:00 2001 From: julecn Date: Fri, 22 Aug 2025 16:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=99=E8=BE=85=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=B2=A1=E6=9C=89=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E6=97=B6=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/command/Lebo.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/command/Lebo.php b/app/command/Lebo.php index 6c53e75..7bb4138 100644 --- a/app/command/Lebo.php +++ b/app/command/Lebo.php @@ -48,7 +48,7 @@ class Lebo extends Command private function start() { // $savepath = store_path() . '/lebolebo/'; - $savepath = 'E:/lebolebo/'; + $savepath = 'D:/lebolebo/'; $account = new Account(); $account_info = $account->login('13880615958','robo520'); if($account_info['code'] == 500){ @@ -233,6 +233,9 @@ class Lebo extends Command } $resourceLists = $kk['content']['resourceList']; foreach($resourceLists as $resourceList){ + if(empty($resourceList['fileName'])){ + continue; + } $file = $jiaofupath . $resourceList['fileName'] ; if(Str::endsWith($file,['.mp4','.mov'])){ $dd = $curr->getVideoUrl($resourceList['fileUrl']);