需要設置ssl證書,或者不驗證證書,例:$ql = QueryList::get('https://...',[],['verify' => false]);
設置這個 'verify'?=>?false , 所以curl的其他參數就在這里配置即可
文檔在 https://guzzle-cn.readthedocs.io/zh_CN/latest/request-options.html#verify 不在 QueryList的基礎指導文檔里面 之前找了半天
curl原生配置方法:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);