正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -24,6 +24,9 @@ class UsersController extends AdminBaseController{ | @@ -24,6 +24,9 @@ class UsersController extends AdminBaseController{ | ||
24 | $keyword = $_POST['keyword']; | 24 | $keyword = $_POST['keyword']; |
25 | $where['b.user_nickname'] = ['like',"%$keyword%"]; | 25 | $where['b.user_nickname'] = ['like',"%$keyword%"]; |
26 | } | 26 | } |
27 | + if(empty($_POST['id'])){ | ||
28 | + $where['id'] = ['eq',$_POST['id']]; | ||
29 | + } | ||
27 | if($_POST['identity'] != ""){ | 30 | if($_POST['identity'] != ""){ |
28 | if($_POST['identity'] == -1){ | 31 | if($_POST['identity'] == -1){ |
29 | $where['a.status'] = 0; | 32 | $where['a.status'] = 0; |
-
请 注册 或 登录 后发表评论