From 2f325fce8df062902bfe18bc9127cef797d01389 Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Tue, 22 Aug 2023 10:11:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=9C=80=E6=B1=82=E6=8A=A5=E5=90=8D?= =?UTF-8?q?=E6=96=B0=E5=A2=9Eremarks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app/api/controller/Demand.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/app/api/controller/Demand.php b/server/app/api/controller/Demand.php index 47206c55..78b6156a 100644 --- a/server/app/api/controller/Demand.php +++ b/server/app/api/controller/Demand.php @@ -81,8 +81,9 @@ class Demand extends Api 'demand_id' => $input['demand_id'], 'name' => $input['name'], 'phone' => $input['phone'], - 'company' => $input['company'] ?: '', - 'price' => $input['price'] ?: '', + 'company' => $input['company'] ?? '', + 'price' => $input['price'] ?? '', + 'remarks' => $input['remarks'] ?? '', 'create_time' => time(), ]);