add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:55:15 +08:00
parent 6156ef2cb4
commit f453f98b38
+1 -1
View File
@@ -358,7 +358,7 @@ class HttpClient
echo $host . ':' . $this->getHostPort() . ' ' . $url . '?' . $data;
$client->get($url . '?' . $data);
} else if (strtolower($this->method) == self::PUT) {
$client->setMethod('put');
$client->setMethod('PUT');
$client->setHeaders([
'Content-Type' => 'application/json'
]);