1
0
Fork 0
develop
李静 2023-07-27 15:47:40 +08:00
parent f11d16251d
commit 151f7877e4
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@ class HttpClient
]);
}
public function get(string $url, array $query = []): array
{
return $this->request('GET', $url, [
'query' => $query,
]);
}
/**
* @param string $url
* @param array $data