This commit is contained in:
parent
827d3fbee7
commit
c21cf7f127
|
@ -103,7 +103,7 @@ class QaController extends base
|
||||||
{
|
{
|
||||||
$post = $request->post();
|
$post = $request->post();
|
||||||
if (empty($post['id'])) return $this->error(2001, 'id data cannot be empty!');
|
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['create_time']);
|
||||||
unset($post['update_time']);
|
unset($post['update_time']);
|
||||||
unset($post['qaQuestions']);
|
unset($post['qaQuestions']);
|
||||||
|
|
Loading…
Reference in New Issue