public function getClient()
{
if (!($this->client instanceof HttpClient)) {
$this->client = new HttpClient(['verify' => false]);
}
return $this->client;
}
将vendor/overtrue/wechat/src/Core/Http.php文件的getClient方法改成上图所示即可
public function getClient()
{
if (!($this->client instanceof HttpClient)) {
$this->client = new HttpClient(['verify' => false]);
}
return $this->client;
}
将vendor/overtrue/wechat/src/Core/Http.php文件的getClient方法改成上图所示即可
本文 暂无 评论