From 12adc5e165a386317fdd354cd7e397377cad984b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=85=BE=E9=80=9F=E7=A7=91=E6=8A=80?= Date: Mon, 20 Apr 2020 23:22:24 +0800 Subject: [PATCH] update app/controller/admin/Base.php. --- app/controller/admin/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/admin/Base.php b/app/controller/admin/Base.php index deebb909..f5fd2801 100644 --- a/app/controller/admin/Base.php +++ b/app/controller/admin/Base.php @@ -160,7 +160,7 @@ class Base extends BaseC { // 是否开发者模式 $where['is_dev'] = 0; } - $row = Menu::where($where)->order('sort asc')->field('id,title,url,icon,'' as style')->select(); + $row = Menu::where($where)->order('sort asc')->field("id,title,url,icon,'' as style")->select(); foreach ($row as $key => $value) { //此处用来做权限判断 if (!IS_ROOT && !$this->checkRule(substr($value['url'], 1), 2, null)) {