mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 22:27:24 +08:00
user服务层优化
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
||||
// 数据处理
|
||||
|
||||
Reference in New Issue
Block a user