新增腾讯im。
This commit is contained in:
@@ -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", // 测试
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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