增加 删除条件

This commit is contained in:
iVampireSP.com 2022-09-09 17:21:53 +08:00
parent 3e9f23fe65
commit 0efb6ec0b7
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -63,9 +63,9 @@ public function handle()
$host->delete();
}
// if ($response->status() === 404) {
// $host->delete();
// }
if ($response->status() === 404) {
$host->delete();
}
return 0;
// if response code is 404