|
...
|
...
|
@@ -40,12 +40,12 @@ class UpdatePageJob implements ShouldQueue |
|
|
|
try {
|
|
|
|
$re = http_post($c_url, $c_params, [], true);
|
|
|
|
if (isset($re['status']) && $re['status'] == 200) {
|
|
|
|
$this->output('请求成功');
|
|
|
|
$this->output($c_url . ' | 请求成功');
|
|
|
|
} else {
|
|
|
|
$this->output($re['message'] ?? '未返回失败原因');
|
|
|
|
$this->output($c_url . ' | ' . ($re['message'] ?? '未返回失败原因'));
|
|
|
|
}
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
$this->output('请求异常:' . $e->getMessage());
|
|
|
|
$this->output($c_url . ' | 请求异常:' . $e->getMessage());
|
|
|
|
}
|
|
|
|
|
|
|
|
|
...
|
...
|
|