add clear

This commit is contained in:
as2252258@163.com
2020-01-10 19:52:54 +08:00
parent eaca17753a
commit dfec642731
+1 -1
View File
@@ -409,7 +409,6 @@ class HttpClient
} }
$client->setData($data); $client->setData($data);
$client->execute($url); $client->execute($url);
var_dump($client);
} else if (strtolower($this->method) == self::DELETE) { } else if (strtolower($this->method) == self::DELETE) {
$client->setMethod('DELETE'); $client->setMethod('DELETE');
if (!is_string($data)) { if (!is_string($data)) {
@@ -420,6 +419,7 @@ class HttpClient
} else { } else {
$client->post($url, $data); $client->post($url, $data);
} }
var_dump($client);
return $client; return $client;
} }