From 91d7fb8ed5d5dc21164a76379f70d9accf79fcde Mon Sep 17 00:00:00 2001 From: Devil Date: Sun, 20 Dec 2020 16:19:06 +0800 Subject: [PATCH] =?UTF-8?q?user=E6=9C=8D=E5=8A=A1=E5=B1=82=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/service/UserService.php b/application/service/UserService.php index 445608f20..c493e4285 100755 --- a/application/service/UserService.php +++ b/application/service/UserService.php @@ -1972,7 +1972,7 @@ class UserService } if(!empty($user_ids)) { - $data = Db::name('User')->where(['username,nickname,mobile,email,avatar'=>$user_ids])->column('*', 'id'); + $data = Db::name('User')->where(['id'=>$user_ids])->column('username,nickname,mobile,email,avatar', 'id'); } // 数据处理