This commit is contained in:
yaosen 2024-07-01 16:05:56 +08:00
parent c21cf7f127
commit 401c734ab9
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class QaController extends base
if (empty($post['city_id'])) return $this->error(2001, 'city_id data cannot be empty!');
if (empty($post['title'])) return $this->error(2001, 'title data cannot be empty!');
$qaQuestion = $post['qaQuestions'];
$qaQuestion = $post['qaQuestions'] ?? null;
unset($post['qaQuestions']);
try {