redis调整

This commit is contained in:
chengxl
2025-08-07 16:14:26 +08:00
parent 104eb43c47
commit c7b4539c49
3 changed files with 172 additions and 67 deletions

View File

@@ -619,7 +619,7 @@ class OpenAi
curl_setopt($this->curl, CURLOPT_PROXY, $this->proxy);
curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($this->curl, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($this->curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); // 强制TLS版本
// curl_setopt($this->curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); // 强制TLS版本
// 核心传输配置 - 解决数据截断
curl_setopt($this->curl, CURLOPT_POST, true);