This commit is contained in:
xl
2023-11-07 16:15:48 +08:00
parent 43c8f9b8e6
commit 9e062a7a33
+2 -5
View File
@@ -143,11 +143,8 @@ class CoroutineClient extends ClientAbstracts
} }
if ($this->isGet()) { if ($this->isGet()) {
if (!empty($data)) $path .= '?' . $data; if (!empty($data)) $path .= '?' . $data;
} else { } else if (!empty($data)) {
$data = $this->mergeParams($data); $this->client->setData($data);
if (!empty($data)) {
$this->client->setData($data);
}
} }
return $path; return $path;
} }