From 6f4f4c2beb3dba71dbffc8873e42c42bdef74d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 9 Nov 2021 17:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ClientAbstracts.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ClientAbstracts.php b/src/ClientAbstracts.php index fe07507..47cfc73 100644 --- a/src/ClientAbstracts.php +++ b/src/ClientAbstracts.php @@ -505,6 +505,7 @@ abstract class ClientAbstracts implements IClient */ protected function mergeParams($newData): string { + if (empty($data)) return ''; if (!is_string($newData)) { return $this->toRequest($newData); }