zxhxx 3 年之前
父節點
當前提交
66efbdcb80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/Lave.php

+ 1 - 1
application/admin/controller/Lave.php

@@ -48,7 +48,7 @@ class Lave extends Backend
              */
             if(is_array(is_sys_admin()))
             {
-                $where1[] = is_sys_admin();
+                $where1['cid'] = is_sys_admin()['cid'];
             }
             $list = $this->model
                 ->where($where)->where($where1)