优化用户列表结束

master
chenzhi 5 years ago
parent d948dee3df
commit c2fb23f9a2

@ -56,9 +56,18 @@ class MemberController extends ThinkController
} elseif (isset($_REQUEST['time_end'])) { } elseif (isset($_REQUEST['time_end'])) {
$map['tab_user.register_time'] = ['LT', strtotime(I('time_end')) + 86399]; $map['tab_user.register_time'] = ['LT', strtotime(I('time_end')) + 86399];
} }
if (isset($_GET['register_way'])) { if (isset($_GET['register_way'])) {
$map['tab_user.register_type'] = $_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'])) { if (isset($_REQUEST['status'])) {
$map['lock_status'] = $_REQUEST['status']; $map['lock_status'] = $_REQUEST['status'];
} }
@ -180,7 +189,9 @@ class MemberController extends ThinkController
$this->display(); $this->display();
} }
/**
* 用户列表旧版
*/
public function user_info2($p = 0) public function user_info2($p = 0)
{ {
$hav = ''; $hav = '';

Loading…
Cancel
Save