redis调整
This commit is contained in:
@@ -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);
|
||||
|
||||
//字段处理
|
||||
|
||||
Reference in New Issue
Block a user