修复获取器空键名报错

This commit is contained in:
技术老胡
2024-12-11 15:28:32 +08:00
parent 55fd7f9335
commit b5d128d6b4
2 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class ImgCaptcha
return $captcha;
}
// 请求外部资源
private function getHttpResponse($url, $header = [], $post = null, $timeout = 10)
private static function getHttpResponse($url, $header = [], $post = null, $timeout = 10)
{
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);