正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -40,12 +40,12 @@ class UpdatePageJob implements ShouldQueue | @@ -40,12 +40,12 @@ class UpdatePageJob implements ShouldQueue | ||
| 40 | try { | 40 | try { |
| 41 | $re = http_post($c_url, $c_params, [], true); | 41 | $re = http_post($c_url, $c_params, [], true); |
| 42 | if (isset($re['status']) && $re['status'] == 200) { | 42 | if (isset($re['status']) && $re['status'] == 200) { |
| 43 | - $this->output('请求成功'); | 43 | + $this->output($c_url . ' | 请求成功'); |
| 44 | } else { | 44 | } else { |
| 45 | - $this->output($re['message'] ?? '未返回失败原因'); | 45 | + $this->output($c_url . ' | ' . ($re['message'] ?? '未返回失败原因')); |
| 46 | } | 46 | } |
| 47 | } catch (\Exception $e) { | 47 | } catch (\Exception $e) { |
| 48 | - $this->output('请求异常:' . $e->getMessage()); | 48 | + $this->output($c_url . ' | 请求异常:' . $e->getMessage()); |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | 51 |
-
请 注册 或 登录 后发表评论