From 1bdd800f507c9c8f4c2d78a56324c9b0f706ba39 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 21 Jan 2019 17:30:55 +0800 Subject: [PATCH] =?UTF-8?q?admin=20field=E6=9C=AA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/AdminService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/AdminService.php b/application/service/AdminService.php index d0d391a7d..5a1569066 100755 --- a/application/service/AdminService.php +++ b/application/service/AdminService.php @@ -39,7 +39,7 @@ class AdminService $n = isset($params['n']) ? intval($params['n']) : 10; // 获取管理员列表 - $data = Db::name('Admin')->where($where)->order($order_by)->limit($m, $n)->select(); + $data = Db::name('Admin')->where($where)->field($field)->order($order_by)->limit($m, $n)->select(); if(!empty($data)) { foreach($data as &$v)