|
|
@ -1896,11 +1896,11 @@ class DownloadController extends BaseController {
|
|
|
|
->limit(($i-1)*$perSize ,$perSize)->select();
|
|
|
|
->limit(($i-1)*$perSize ,$perSize)->select();
|
|
|
|
foreach($data as $key => $v) {
|
|
|
|
foreach($data as $key => $v) {
|
|
|
|
$v['create_time'] = date('Y-m-d H:i:s',$v['create_time']);
|
|
|
|
$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'];
|
|
|
|
$serverId = $v['server_id'];
|
|
|
|
$gameId = $v['game_id'];
|
|
|
|
$gameId = $v['game_id'];
|
|
|
|
$serverInfo = M('server','tab_')->field('server_name')->where(['server_num'=>$serverId,'game_id'=>$gameId])->find();
|
|
|
|
$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['extend'] = $this->encryption($v['extend']);
|
|
|
|
$csvData['create_time'] = $v['create_time'];
|
|
|
|
$csvData['create_time'] = $v['create_time'];
|
|
|
|
$csvData['user_account'] = $v['user_account'];
|
|
|
|
$csvData['user_account'] = $v['user_account'];
|
|
|
|