Просмотр исходного кода

优化:将guzzle的默认ssl验证改为不验证

萤火科技 4 лет назад
Родитель
Сommit
fa57c638c6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      vendor/guzzlehttp/guzzle/src/Client.php

+ 1 - 1
vendor/guzzlehttp/guzzle/src/Client.php

@@ -230,7 +230,7 @@ class Client implements ClientInterface, \Psr\Http\Client\ClientInterface
             'allow_redirects' => RedirectMiddleware::$defaultSettings,
             'allow_redirects' => RedirectMiddleware::$defaultSettings,
             'http_errors'     => true,
             'http_errors'     => true,
             'decode_content'  => true,
             'decode_content'  => true,
-            'verify'          => true,
+            'verify'          => false,
             'cookies'         => false,
             'cookies'         => false,
             'idn_conversion'  => false,
             'idn_conversion'  => false,
         ];
         ];