From 3284a0922e0e49dbfc5e80ad8a746811105696ef Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 19 Dec 2019 10:38:04 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index 5769394..7782d13 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -352,7 +352,8 @@ class HttpClient $data = json_encode($data, JSON_UNESCAPED_UNICODE); } $client->setData($data); - $client->body = $client->execute($url); + $execute = $client->execute($url); + var_dump($execute); } else { echo $host . ':' . $this->getHostPort() . ' ' . $url; $client->post($url, $data);