From ff916cd10852a41eb7f9282bb5bd5eb3ad3b532b Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Tue, 22 Oct 2024 09:15:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E8=A1=97=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreLogic.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index acb9366d..7de48b0e 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -202,12 +202,7 @@ class LocalStoreLogic extends Logic $where[] = ['shopName', 'like', '%' . $data['keyword'] . '%']; } - // 价格排序 $order = ['lstore_id' => 'desc']; -// if (isset($data['money_sort'])) { -// $order = ['lsg.price' => $data['money_sort']]; -// } - // 经纬度排序 if (isset($data['distance_sort'])) { $order = ['distance' => $data['distance_sort']];