|
...
|
...
|
@@ -90,7 +90,6 @@ class EditDomainBt implements ShouldQueue |
|
|
|
$this->output($domain_info['domain'] . ':主站编辑失败,原因:' . ($rs['message'] ?? ''));
|
|
|
|
}
|
|
|
|
} catch (\Exception | GuzzleException $e) {
|
|
|
|
errorLog('编辑主站', $api_param, $e);
|
|
|
|
$this->output($domain_info['domain'] . ':主站编辑失败,原因:' . $e->getMessage());
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -112,7 +111,6 @@ class EditDomainBt implements ShouldQueue |
|
|
|
$this->output($domain_info['domain'] . ':amp站编辑失败,原因:' . ($rs_amp['message'] ?? ''));
|
|
|
|
}
|
|
|
|
} catch (\Exception | GuzzleException $e_amp) {
|
|
|
|
errorLog('编辑amp站', $api_param_amp, $e_amp);
|
|
|
|
$this->output($domain_info['domain'] . ':amp站编辑失败,原因:' . $e_amp->getMessage());
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -130,4 +128,9 @@ class EditDomainBt implements ShouldQueue |
|
|
|
echo date('Y-m-d H:i:s') . ' | ' . $message . PHP_EOL;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function failed(\Exception $exception)
|
|
|
|
{
|
|
|
|
return $this->output($exception->getMessage());
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|