From a45ab355c3e17b9d66e11ba5b01837039a0ac641 Mon Sep 17 00:00:00 2001 From: liaofei <136327134@qq.com> Date: Mon, 10 Apr 2023 10:55:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/system/SystemRouteServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/app/services/system/SystemRouteServices.php b/crmeb/app/services/system/SystemRouteServices.php index bfa4f8ddb..32fbe799f 100644 --- a/crmeb/app/services/system/SystemRouteServices.php +++ b/crmeb/app/services/system/SystemRouteServices.php @@ -82,7 +82,7 @@ class SystemRouteServices extends BaseServices public function getTreeList(array $where, string $appName = 'adminapi') { $list = app()->make(SystemRouteCateServices::class) - ->selectList(['app_name' => $appName], '*', 0, 0, 'add_time desc', [ + ->selectList(['app_name' => $appName], '*', 0, 0, 'id asc', [ 'children' => function ($query) use ($where) { $query->where('app_name', $where['app_name']) ->when('' !== $where['name_like'], function ($q) use ($where) {