From 16f1e27f349ac4f86c86d7caf383478b6bb818f2 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Tue, 8 Nov 2022 20:55:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/CheckHostIfExistsOnModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/CheckHostIfExistsOnModule.php b/app/Jobs/CheckHostIfExistsOnModule.php index 640caad..a802c1a 100644 --- a/app/Jobs/CheckHostIfExistsOnModule.php +++ b/app/Jobs/CheckHostIfExistsOnModule.php @@ -42,8 +42,8 @@ public function handle() $response = $http->get('hosts/' . $host->id); if ($response->status() === 404) { - Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除'); - // dispatch(new \App\Jobs\Remote\Host($host, 'delete')); + // Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除'); + dispatch(new \App\Jobs\Remote\Host($host, 'delete')); } } });