This commit is contained in:
yaosen 2024-07-01 16:03:54 +08:00
parent 827d3fbee7
commit c21cf7f127
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class QaController extends base
{
$post = $request->post();
if (empty($post['id'])) return $this->error(2001, 'id data cannot be empty!');
$qaQuestion = $post['qaQuestions'];
$qaQuestion = $post['qaQuestions'] ?? null;
unset($post['create_time']);
unset($post['update_time']);
unset($post['qaQuestions']);