本地调试easywechat报错cURL error 60: SSL certificate problem: unable to get local issuer certificate 解决方案
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方法改成上图所示即可


本文 暂无 评论

Top
Music