|
|
@ -631,6 +631,10 @@ class UserController extends AdminController
|
|
|
|
$map['role_name'] = trim($_REQUEST['role_name']);
|
|
|
|
$map['role_name'] = trim($_REQUEST['role_name']);
|
|
|
|
unset($_REQUEST['role_name']);
|
|
|
|
unset($_REQUEST['role_name']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($_REQUEST['role_id'])) {
|
|
|
|
|
|
|
|
$map['role_id'] = trim($_REQUEST['role_id']);
|
|
|
|
|
|
|
|
unset($_REQUEST['role_id']);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// $promoteRoot = getPowerPromoteIds();
|
|
|
|
// $promoteRoot = getPowerPromoteIds();
|
|
|
|
// $data_empower_type = session('user_auth')['data_empower_type'];
|
|
|
|
// $data_empower_type = session('user_auth')['data_empower_type'];
|
|
|
@ -668,6 +672,7 @@ class UserController extends AdminController
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
empty(I('user_account')) || $map['user_account'] = ['like', "%" . I('user_account') . "%"];
|
|
|
|
empty(I('user_account')) || $map['user_account'] = ['like', "%" . I('user_account') . "%"];
|
|
|
|
|
|
|
|
$this->checkListOrCountAuthRestMap($map,["role_id", "role_name", "user_account"]);
|
|
|
|
$list = $this->lists(M('user_play_info', 'tab_'), $map, 'play_time desc');
|
|
|
|
$list = $this->lists(M('user_play_info', 'tab_'), $map, 'play_time desc');
|
|
|
|
$this->assign('list', $list);
|
|
|
|
$this->assign('list', $list);
|
|
|
|
$this->meta_title = '角色数据';
|
|
|
|
$this->meta_title = '角色数据';
|
|
|
|