zxhxx 3 년 전
부모
커밋
2dcf1bdadb
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      application/admin/controller/Lave.php

+ 2 - 3
application/admin/controller/Lave.php

@@ -48,11 +48,10 @@ class Lave extends Backend
              */
             if(is_array(is_sys_admin()))
             {
-                dump(is_sys_admin());
-                $where[] = is_sys_admin();
+                $where1[] = is_sys_admin();
             }
             $list = $this->model
-                ->where($where)
+                ->where($where)->where($where1)
                 ->order($sort, $order)
                 ->paginate($limit);
             if($list) {