From 5abc0c0d70fa2e418b0130b95fcc696143033695 Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Wed, 25 Jun 2025 15:14:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=96=AE=E6=A9=9F=E7=89=88=20v.0.0.12=20202506?= =?UTF-8?q?25=20=E6=AD=8C=E6=AA=94=E8=B3=87=E6=96=99=E6=AF=94=E5=B0=8D=20D?= =?UTF-8?q?B=E9=83=A8=E4=BB=BD=E5=85=A8=E9=83=A8=E9=A1=AF=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/CheckFtpSongs.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Console/Commands/CheckFtpSongs.php b/app/Console/Commands/CheckFtpSongs.php index 94fb8be..2783b3d 100644 --- a/app/Console/Commands/CheckFtpSongs.php +++ b/app/Console/Commands/CheckFtpSongs.php @@ -80,8 +80,7 @@ class CheckFtpSongs extends Command // 4) 結果 $this->warn("❌ 缺失檔案(DB 有 / FTP 無):{$missing->count()}"); - $missing->take(20)->each(fn ($p) => $this->line(" - $p")); - if ($missing->count() > 20) $this->line(' …其餘省略'); + $missing->each(fn ($p) => $this->line(" - $p")); $this->info("⚠️ 多餘檔案(FTP 有 / DB 無):{$extra->count()}"); $extra->take(20)->each(fn ($p) => $this->line(" - $p"));