新增腾讯im。

This commit is contained in:
2023-03-09 16:01:03 +08:00
parent e1a015e960
commit 0850d6e3f3
19 changed files with 1265 additions and 46 deletions
+1
View File
@@ -25,6 +25,7 @@ class Auth
"/area/county" => "get", // 获取区县信息
"/callback/wxpay/inquiry/success" => "post", // 微信支付回调
"/callback/wxpay/inquiry/refund" => "post", // 微信退款回调
"/callback/im" => "post", // im回调
"/testpay" => "get", // 测试
];
}
+2 -1
View File
@@ -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);