redis调整
This commit is contained in:
@@ -470,7 +470,7 @@ class Material
|
||||
$aInsert['create_time'] = $iTime;
|
||||
$response = Db::name('ai_journal_editor_material')->insertGetId($aInsert);
|
||||
}else{
|
||||
$aWhere['author_id'] = $aMaterial['author_id'];
|
||||
$aWhere['author_id'] = $aMaterial['id'];
|
||||
$aInsert['update_time'] = $iTime;
|
||||
$response = Db::name('ai_journal_editor_material')->where($aWhere)->limit(1)->update($aInsert);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user