导出修改

master
zhengyongxing 5 years ago
parent 79198191a7
commit 65fd27fe36

@ -1306,10 +1306,11 @@ class ExportController extends Controller
$map['sdk_version'] = $_REQUEST['sdk_version'];
$game_ids = M('game', 'tab_')->field('id')->where($map)->select();
$game_ids = array_column($game_ids, 'id');
$extend['tab_gift_record.sdk_version'] = ['in', $game_ids];
$extend['tab_gift_record.game_id'] = ['in', $game_ids];
unset($_REQUEST['sdk_version']);
}
}
// var_dump($extend);die();
$csvFileName = $xlsName.'.csv';
//设置好告诉浏览器要下载excel文件的headers

Loading…
Cancel
Save