From bb78ef496768c51c66525727edcce977c8edc99c Mon Sep 17 00:00:00 2001 From: Devil Date: Thu, 12 Sep 2019 23:36:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/AdminPowerService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/AdminPowerService.php b/application/service/AdminPowerService.php index 52564769d..f3d1c5691 100755 --- a/application/service/AdminPowerService.php +++ b/application/service/AdminPowerService.php @@ -36,7 +36,7 @@ class AdminPowerService $order_by = empty($params['order_by']) ? 'id desc' : trim($params['order_by']); // 获取权限菜单列表 - $data = Db::name('Power')->where($where)->order($order_by)->select(); + $data = Db::name('Power')->field($field)->where($where)->order($order_by)->select(); if(!empty($data)) { foreach($data as &$v) -- GitLab