redis调整

This commit is contained in:
chengxl
2025-08-07 15:03:25 +08:00
parent 45cdd97e7c
commit 104eb43c47
2 changed files with 6 additions and 1 deletions

View File

@@ -335,6 +335,7 @@ class OpenAi
//组装问题
foreach ($aParam as $key => $value) {
//字段处理
$key = trim($key,'_');
$key = empty($aField[$key]) ? $key : $aField[$key];
$sQuestionInfo = empty($aQuestionLists[$key]) ? '' : $aQuestionLists[$key];
if(empty($sQuestionInfo) || empty($value)){
@@ -418,6 +419,7 @@ class OpenAi
}
//一级标题处理
$key = trim($key,'_');
$sKey = str_replace('_', ' ', $key);
//字段处理