...
|
...
|
@@ -25,7 +25,11 @@ class UsersController extends AdminBaseController{ |
|
|
$where['b.user_nickname'] = ['like',"%$keyword%"];
|
|
|
}
|
|
|
if($_POST['identity'] != ""){
|
|
|
$where['a.status'] = $_POST['identity'];
|
|
|
if($_POST['identity'] == -1){
|
|
|
$where['a.status'] = 0;
|
|
|
}else{
|
|
|
$where['a.status'] = $_POST['identity'];
|
|
|
}
|
|
|
}
|
|
|
$data = Db::name('my_user') -> alias('a') -> field('a.*,b.user_nickname') -> join('user b','a.uid = b.id','LEFT') -> where($where) -> paginate(1000000);
|
|
|
}else{
|
...
|
...
|
|