diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 4ee66cb73..88f8205e1 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -56,9 +56,18 @@ class MemberController extends ThinkController } elseif (isset($_REQUEST['time_end'])) { $map['tab_user.register_time'] = ['LT', strtotime(I('time_end')) + 86399]; } + if (isset($_GET['register_way'])) { $map['tab_user.register_type'] = $_GET['register_way']; + }else{ + if (I('type', 1) == 1) { + $map['tab_user.register_type'] = ['in', [1, 2, 7]]; + }else{ + $map['tab_user.register_type'] = ['in', [0, 3, 4, 5, 6]]; + } } + + if (isset($_REQUEST['status'])) { $map['lock_status'] = $_REQUEST['status']; } @@ -180,7 +189,9 @@ class MemberController extends ThinkController $this->display(); } - + /** + * 用户列表旧版 + */ public function user_info2($p = 0) { $hav = '';