add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:36:56 +08:00
parent daba7fe499
commit 97df0910ec
+1 -1
View File
@@ -352,7 +352,7 @@ class HttpClient
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
}
$client->setData($data);
$client->execute($url);
$client->body = $client->execute($url);
} else {
echo $host . ':' . $this->getHostPort() . ' ' . $url;
$client->post($url, $data);