From 8f1b8ad26a5855791e1e076c8578553b37591135 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 20 Dec 2023 10:56:33 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/LandController.php b/app/api/controller/LandController.php index 9780b2b7..30744ede 100644 --- a/app/api/controller/LandController.php +++ b/app/api/controller/LandController.php @@ -104,8 +104,8 @@ 'address' => $params['address'], 'master_name' => $params['master_name'], 'master_phone' => $params['master_phone'], - 'longitude' => $params['longitude'], - 'latitude' => $params['latitude'], + 'longitude' => floatval($params['longitude']), + 'latitude' => floatval($params['latitude']), 'pic' => $params['pic'], 'create_time' => time(), 'update_time' => time(),