This commit is contained in:
jianghanbo 2024-08-29 18:00:36 +08:00
parent ee30925635
commit 0223427e8f
1 changed files with 7 additions and 1 deletions

View File

@ -114,7 +114,13 @@ class QaController extends base
} }
$qaQuestion = $post['qaQuestions'] ?? null; $qaQuestion = $post['qaQuestions'] ?? null;
unset($post['qaQuestions'], $post['update_time']); unset($post['qaQuestions']);
if (isset($post['update_time'])) {
unset($post['update_time']);
}
if (isset($post['update_time'])) {
unset($post['id']);
}
$post['create_time'] = time(); $post['create_time'] = time();
try { try {