作者 王小刚
1 个管道 的构建 通过 耗费 42 秒

......

@@ -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;