From e985da44926b486854bcd4c0a02cf3a77c362155 Mon Sep 17 00:00:00 2001 From: WispX Date: Wed, 21 Apr 2021 16:33:55 +0800 Subject: [PATCH] :sparkles: Introducing new features. --- application/index/controller/admin/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/index/controller/admin/Base.php b/application/index/controller/admin/Base.php index 3f63c808..fc53f52c 100644 --- a/application/index/controller/admin/Base.php +++ b/application/index/controller/admin/Base.php @@ -26,7 +26,7 @@ class Base extends AdminBase protected function getConfigs($keys) { - $data = Config::all(); + $data = Config::order('type', 'asc')->all(); $configs = []; foreach ($data as &$value) { if (in_array($value->key, $keys)) {