add clear

This commit is contained in:
as2252258@163.com
2019-12-19 10:51:30 +08:00
parent 96bc5a4d8b
commit 2745650d39
+3
View File
@@ -255,6 +255,9 @@ class HttpClient
}
$url = '/' . implode('/', $explode);
if (!empty($this->host)) {
return $this->host;
}
if (preg_match('/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/', $first)) {
return $first;