应用删除

This commit is contained in:
iVampireSP.com 2022-11-08 20:55:17 +08:00
parent 51b77bbd19
commit 16f1e27f34
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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'));
}
}
});