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']);