From 447f837cc6773c4693181341187ccfb973d60fa8 Mon Sep 17 00:00:00 2001 From: evoxwht <442384644@qq.com> Date: Wed, 28 Jun 2023 17:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=89=A9=E6=B5=81=E5=85=AC?= =?UTF-8?q?=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/dao/shipping/ExpressDao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/dao/shipping/ExpressDao.php b/crmeb/app/dao/shipping/ExpressDao.php index 419e1ac98..c744c2899 100644 --- a/crmeb/app/dao/shipping/ExpressDao.php +++ b/crmeb/app/dao/shipping/ExpressDao.php @@ -42,7 +42,7 @@ class ExpressDao extends BaseDao */ public function getExpressList(array $where, string $field, int $page, int $limit) { - return $this->search($where)->field($field)->order('sort DESC,is_show DESC') + return $this->search($where)->field($field)->order('sort DESC,is_show DESC,id ASC') ->when($page > 0 && $limit > 0, function ($query) use ($page, $limit) { $query->page($page, $limit); })->select()->toArray();