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 (!empty($data)) $path .= '?' . $data;
} else {
$data = $this->mergeParams($data);
if (!empty($data)) {
$this->client->setData($data);
}
} else if (!empty($data)) {
$this->client->setData($data);
}
return $path;
}