add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:38:04 +08:00
parent 97df0910ec
commit 3284a0922e
+2 -1
View File
@@ -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);