From 9abf8af912080308e8befea0ee717a03413689e0 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 26 Dec 2019 21:55:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Common/Common/extend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }