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(), ]);