From e24f5f04493228bcc63e5952eeaf6af212932051 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Mon, 16 Jun 2025 21:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/orders/Dispatchrecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/orders/Dispatchrecord.php b/application/admin/controller/orders/Dispatchrecord.php index e9ec383..defc19f 100644 --- a/application/admin/controller/orders/Dispatchrecord.php +++ b/application/admin/controller/orders/Dispatchrecord.php @@ -156,7 +156,7 @@ class Dispatchrecord extends Backend $dispatch->record_count ++; //$params['admin_id'] = $this->auth->id; $result = $this->model->allowField(true)->save($params); - $dispatch->save(); + $dispatch->allowField(true)->save(); Db::commit(); } catch (ValidateException|PDOException|Exception $e) { Db::rollback();