From 2f5a57285210e05b24257153ec389e63db398ae6 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Thu, 10 Oct 2024 10:27:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AEorder=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/LocalStoreLogic.php b/app/api/logic/LocalStoreLogic.php index c18d1c4a..7a1d6de2 100644 --- a/app/api/logic/LocalStoreLogic.php +++ b/app/api/logic/LocalStoreLogic.php @@ -88,7 +88,7 @@ class LocalStoreLogic extends Logic // if (isset($data['c_name']) && $data['c_name'] == '嘉兴市') { // $sql = "SELECT * FROM ls_local_store where lstore_id = 138 and is_delete = 0 and store_state = 1 and shopLogo is not null $s ORDER BY lstore_id asc limit " . $page . "," . $size; // } else { - $sql = "SELECT * FROM ls_local_store where is_delete = 0 and store_state = 1 and shopLogo is not null $s $keyword ORDER BY lstore_id asc limit " . $page . "," . $size; + $sql = "SELECT * FROM ls_local_store where is_delete = 0 and store_state = 1 and shopLogo is not null $s $keyword ORDER BY order desc limit " . $page . "," . $size; // } // var_dump($sql);