1
This commit is contained in:
@@ -901,7 +901,7 @@ class User extends Base
|
||||
$where['state'] = 0;
|
||||
// $where['user_id'] = ['not in',$black_list];
|
||||
if ($data['username'] != "") {
|
||||
$where["account|email"] = ['like','%' . trim($data['username'] . '%')];
|
||||
$where["account|email|realname"] = ['like','%' . trim($data['username'] . '%')];
|
||||
}
|
||||
if($data['role']==1){
|
||||
$where['type'] = 2;
|
||||
|
||||
Reference in New Issue
Block a user