|
|
|
@ -1844,8 +1844,15 @@ class QueryController extends BaseController
|
|
|
|
|
list($records, $pagination, $count) = $this->paginate($query);
|
|
|
|
|
|
|
|
|
|
foreach ($records as &$list) {
|
|
|
|
|
$list['user_account'] = encryption($list['user_account']);
|
|
|
|
|
$list['unlogin_day'] = intval((strtotime(date('Y-m-d 00:00:00')) - strtotime(date('Y-m-d 00:00:00', $list['play_time']))) / (24 * 3600));
|
|
|
|
|
$list['user_account'] = empty($list['user_account']) ? '--' : encryption($list['user_account']);
|
|
|
|
|
$list['game_name'] = empty($list['game_name']) ? '--' : $list['game_name'];
|
|
|
|
|
$list['sdk_version'] = empty($list['sdk_version']) ? '--' : getSDKTypeName($list['sdk_version']);
|
|
|
|
|
$list['server_name'] = empty($list['server_name']) ? '--' : $list['server_name'];
|
|
|
|
|
$list['role_name'] = empty($list['role_name']) ? '--' : $list['role_name'];
|
|
|
|
|
$list['role_level'] = empty($list['role_level']) ? '--' : $list['role_level'];
|
|
|
|
|
$list['unlogin_day'] = empty($list['unlogin_day']) ? '--' : intval((strtotime(date('Y-m-d 00:00:00')) - strtotime(date('Y-m-d 00:00:00', $list['play_time']))) / (24 * 3600));
|
|
|
|
|
$list['play_time'] = empty($list['play_time']) ? '--' : date('Y-m-d H:i:s', $list['play_time']);
|
|
|
|
|
$list['promote_account'] = empty($list['promote_account']) ? '--' : $list['promote_account'];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|