From d7d19a5ebd1a3d9d7ff761cdcd36372a2be596c8 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 20 Dec 2023 10:52:52 +0800 Subject: [PATCH] =?UTF-8?q?update=20app=E6=B7=BB=E5=8A=A0=E5=9C=B0?= =?UTF-8?q?=E5=9D=97=E6=96=B0=E5=A2=9E=E7=BB=8F=E7=BA=AC=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/LandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/LandController.php b/app/api/controller/LandController.php index 7449cdcc..9780b2b7 100644 --- a/app/api/controller/LandController.php +++ b/app/api/controller/LandController.php @@ -59,7 +59,7 @@ public function add(): Json { //获取参数并验证 - $fields = ['title','area','province_code','city_code','county_code','address','master_name','master_phone','pic']; + $fields = ['title','area','province_code','city_code','county_code','address','master_name','master_phone','pic', 'longitude', 'latitude']; $params = $this->request->post($fields); foreach($fields as $v){ if(!isset($params[$v]) || $params[$v] == ''){