diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 7fb7f3c61..d14b1daf6 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -1896,11 +1896,11 @@ class DownloadController extends BaseController { ->limit(($i-1)*$perSize ,$perSize)->select(); foreach($data as $key => $v) { $v['create_time'] = date('Y-m-d H:i:s',$v['create_time']); - $promoteInfo = M('promote','tab_')->field("nickname")->where(['id' => intval($v['promote_id'])])->find(); + $promoteInfo = M('promote','tab_')->field("account")->where(['id' => intval($v['promote_id'])])->find(); $serverId = $v['server_id']; $gameId = $v['game_id']; $serverInfo = M('server','tab_')->field('server_name')->where(['server_num'=>$serverId,'game_id'=>$gameId])->find(); - $v['promote_id']= $promoteInfo['nickname']; + $v['promote_id']= $promoteInfo['account']; $csvData['extend'] = $this->encryption($v['extend']); $csvData['create_time'] = $v['create_time']; $csvData['user_account'] = $v['user_account']; diff --git a/Application/Home/Controller/PlayersController.class.php b/Application/Home/Controller/PlayersController.class.php index f067ef786..c016444fb 100644 --- a/Application/Home/Controller/PlayersController.class.php +++ b/Application/Home/Controller/PlayersController.class.php @@ -89,8 +89,8 @@ class PlayersController extends BaseController { //分页 $parameter['p'] = $page; $parameter['row'] = $row; - $parameter['begtime'] = $initBegTime; - $parameter['endtime'] = $initEndTime; + $parameter['begtime'] = I('begtime'); + $parameter['endtime'] = I('endtime'); $parameter['relation_game_id'] = $relationGameId; $parameter['sdk_version'] = $sdkVersion; $parameter['server_id'] = $serverId;