diff --git a/Application/Common/Common/extend.php b/Application/Common/Common/extend.php index 92d3a074..b4a59510 100644 --- a/Application/Common/Common/extend.php +++ b/Application/Common/Common/extend.php @@ -2908,7 +2908,7 @@ function post_task($url, $data) { $promise = $client->requestAsync('POST', $url, [ 'form_params' => $data ]); - $promise->then( + /* $promise->then( function (ResponseInterface $res) { echo $res->getStatusCode() . PHP_EOL; }, @@ -2916,6 +2916,6 @@ function post_task($url, $data) { echo $e->getMessage() . PHP_EOL; echo $e->getRequest()->getMethod(); } - ); + ); */ $promise->wait(); }