From c645d63f9707466cadaa416c0e02bf18d9029632 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 13 Jan 2020 16:51:04 +0800 Subject: [PATCH] add clear --- common/HttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/HttpClient.php b/common/HttpClient.php index 812fe50..a252c37 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -409,10 +409,10 @@ class HttpClient $client->get($url); } else if (strtolower($this->method) == self::PUT) { $client->setMethod('PUT'); + var_dump($data); if (!is_string($data)) { $data = json_encode($data); } - var_dump($data); $client->setData($data); $client->execute($url); } else if (strtolower($this->method) == self::DELETE) {