From 171cf211164f70aec0b66d6a15c4f57546b10d65 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Tue, 30 Aug 2022 10:53:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E6=97=B6=E7=9A=84=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/Remote/FetchModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Remote/FetchModule.php b/app/Jobs/Remote/FetchModule.php index 28b0069..dc8e431 100644 --- a/app/Jobs/Remote/FetchModule.php +++ b/app/Jobs/Remote/FetchModule.php @@ -34,7 +34,7 @@ public function __construct() public function handle() { // - Module::chunk(100, function ($modules) { + Module::whereNotNull('url')->chunk(100, function ($modules) { foreach ($modules as $module) { $http = Http::remote($module->api_token, $module->url); // dd($module->url);