From fb491ecf75bcc26e7b877274158c6ed2fc3f78a0 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Sat, 3 Feb 2024 15:37:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E5=9C=B0=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/adminapi/logic/farm/FarmLogic.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/adminapi/logic/farm/FarmLogic.php b/app/adminapi/logic/farm/FarmLogic.php index ed787e0..99795c5 100644 --- a/app/adminapi/logic/farm/FarmLogic.php +++ b/app/adminapi/logic/farm/FarmLogic.php @@ -56,6 +56,8 @@ class FarmLogic extends BaseLogic 'bridge' => $params['bridge'], 'address' => $params['address'], 'image' => $params['image'], + 'longitude' => $params['longitude'], + 'latitude' => $params['latitude'], ]); Db::commit(); @@ -94,6 +96,8 @@ class FarmLogic extends BaseLogic 'bridge' => $params['bridge'], 'address' => $params['address'], 'image' => $params['image'], + 'longitude' => $params['longitude'], + 'latitude' => $params['latitude'], ]); Db::commit();