add clear
This commit is contained in:
@@ -523,6 +523,9 @@ class HttpClient
|
||||
*/
|
||||
private function createRequestUrl($url, $data)
|
||||
{
|
||||
if (empty($data)) {
|
||||
return $url;
|
||||
}
|
||||
if ($this->isGet()) {
|
||||
return $url . '?' . $data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user