From b74a956d010409bd4dc7ed37afdacc65174f4bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E5=98=89?= <445241500@qq.com> Date: Fri, 24 May 2024 11:28:06 +0800 Subject: [PATCH] 1 --- app/admin/controller/Feedback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/Feedback.php b/app/admin/controller/Feedback.php index 32c986eb..0945cbad 100644 --- a/app/admin/controller/Feedback.php +++ b/app/admin/controller/Feedback.php @@ -56,7 +56,7 @@ class Feedback extends Controller $data['answer'] = $this->postForm()['answer']; $data['feedback_id'] = $this->postForm()['feedback_id']; $data['deal_time'] = time(); - if (!$model->edit($this->postForm())) { + if (!$model->edit($data)) { return $this->renderError($model->getError() ?: '更新失败'); } return $this->renderSuccess('更新成功');