|
|
|
@ -52,7 +52,6 @@ class ExportController extends Controller
|
|
|
|
|
$xlsName = $_REQUEST['xlsname'];
|
|
|
|
|
switch ($id) {
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
|
|
$xlsCell = array(
|
|
|
|
|
array('user_account', "玩家账号"),
|
|
|
|
|
array('game_name', "游戏名称"),
|
|
|
|
@ -861,10 +860,11 @@ class ExportController extends Controller
|
|
|
|
|
$map['spend_ip'] = array('like', '%' . trim($_REQUEST['spend_ip']) . '%');
|
|
|
|
|
unset($_REQUEST['spend_ip']);
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['time-start']) && isset($_REQUEST['time-end'])) {
|
|
|
|
|
$map['pay_time'] = array('BETWEEN', array(strtotime($_REQUEST['time-start']), strtotime($_REQUEST['time-end']) + 24 * 60 * 60 - 1));
|
|
|
|
|
unset($_REQUEST['time-start']);
|
|
|
|
|
unset($_REQUEST['time-end']);
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['timestart']) && isset($_REQUEST['timeend'])) {
|
|
|
|
|
$map['pay_time'] = array('BETWEEN', array(strtotime($_REQUEST['timestart']), strtotime($_REQUEST['timeend']) + 24 * 60 * 60 - 1));
|
|
|
|
|
unset($_REQUEST['timestart']);
|
|
|
|
|
unset($_REQUEST['timeend']);
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['start']) && isset($_REQUEST['end'])) {
|
|
|
|
|
$map['pay_time'] = array('BETWEEN', array(strtotime($_REQUEST['start']), strtotime($_REQUEST['end']) + 24 * 60 * 60 - 1));
|
|
|
|
|