From 1327a0074d27e61206d98705f54f31dfb662e428 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sun, 29 Sep 2024 15:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E6=8F=90=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index f2a219d2..d85db009 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -359,7 +359,7 @@ class LocalStoreLogic extends Logic throw new \Exception('未选择区域'); } - if (!$post['latitude'] && !$post['longitude']) { + if (!$post['lat'] && !$post['lng']) { throw new \Exception('经纬度不能为空'); }