新增腾讯im。
This commit is contained in:
@@ -18,12 +18,13 @@ class HttpRequest
|
||||
|
||||
/**
|
||||
* 请求封装
|
||||
* post请求
|
||||
* @param string $path
|
||||
* @param array $option
|
||||
* @return array
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function getRequest(string $path,array $option = []): array
|
||||
public function postRequest(string $path, array $option = []): array
|
||||
{
|
||||
$response = $this->client->post($path, $option);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user