|
...
|
...
|
@@ -297,8 +297,12 @@ class Temp extends Command |
|
|
|
'project_id' => $project_id,
|
|
|
|
'type' => 3
|
|
|
|
];
|
|
|
|
$re = http_post($c_url, $c_params, [], true);
|
|
|
|
$this->output($re['message'] ?? '');
|
|
|
|
$re = http_post($c_url, json_decode($c_params), [], true);
|
|
|
|
if (isset($re['status']) && $re['status'] == 200) {
|
|
|
|
$this->output($c_url . ' | 请求成功');
|
|
|
|
} else {
|
|
|
|
$this->output($c_url . ' | ' . ($re['message'] ?? '未返回失败原因'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->output('项目id:' . $project_id . ',end');
|
|
|
|
}
|
...
|
...
|
|