|
|
|
@ -677,7 +677,6 @@ class UserController extends AdminController
|
|
|
|
|
// $map['id'] = array('lt',1);
|
|
|
|
|
// }
|
|
|
|
|
setPowerPromoteIds($map,'promote_id');
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['promote_id'])) {
|
|
|
|
|
$queryStr = '';
|
|
|
|
|
if ($_REQUEST['promote_id'] == 0) {
|
|
|
|
@ -693,7 +692,7 @@ class UserController extends AdminController
|
|
|
|
|
$map['sdk_version'] = trim($_REQUEST['game_type']);
|
|
|
|
|
unset($_REQUEST['game_type']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['time_start']) && isset($_REQUEST['time_end'])) {
|
|
|
|
|
$map['create_time'] = ['between', [strtotime(I('time_start')), strtotime(I('time_end')) + 86399]];
|
|
|
|
|
} elseif (isset($_REQUEST['time_start'])) {
|
|
|
|
@ -701,10 +700,10 @@ class UserController extends AdminController
|
|
|
|
|
} elseif (isset($_REQUEST['time_end'])) {
|
|
|
|
|
$map['create_time'] = ['LT', strtotime(I('time_end')) + 86399];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
empty(I('user_account')) || $map['user_account'] = ['like', "%" . I('user_account') . "%"];
|
|
|
|
|
$this->checkListOrCountAuthRestMap($map,["role_id", "role_name", "user_account"]);
|
|
|
|
|
// $this->checkListOrCountAuthRestMap($map,["role_id", "role_name", "user_account"]);
|
|
|
|
|
$list = $this->lists(M('user_play_info', 'tab_'), $map, 'play_time desc');
|
|
|
|
|
|
|
|
|
|
$adminList = getMarketAdminsByPromoteIds(array_column($list, 'promote_id'));
|
|
|
|
|