|
|
|
@ -80,6 +80,8 @@ class SpendController extends ThinkController
|
|
|
|
|
$map['pay_way'] = $_REQUEST['pay_way'];
|
|
|
|
|
}
|
|
|
|
|
unset($_REQUEST['pay_way']);
|
|
|
|
|
} else {
|
|
|
|
|
$map['pay_way'] = ['not in', ['41']];
|
|
|
|
|
}
|
|
|
|
|
if (isset($_REQUEST['pay_game_status'])) {
|
|
|
|
|
$map['pay_game_status'] = $_REQUEST['pay_game_status'];
|
|
|
|
@ -192,11 +194,11 @@ class SpendController extends ThinkController
|
|
|
|
|
$this->display();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function lists1()
|
|
|
|
|
public function lists_mime()
|
|
|
|
|
{
|
|
|
|
|
$startDate = empty($_REQUEST['timestart']) ? date('Y-m-d', strtotime('-6 day', time())) : $_REQUEST['timestart'];
|
|
|
|
|
$endDate = empty($_REQUEST['timeend']) ? date('Y-m-d') : $_REQUEST['timeend'];
|
|
|
|
|
$payStatus = isset($_REQUEST['pay_status']) ? $_REQUEST['pay_status'] : 1;
|
|
|
|
|
$payStatus = isset($_REQUEST['pay_real_status']) ? $_REQUEST['pay_real_status'] : 1;
|
|
|
|
|
|
|
|
|
|
$startTime = strtotime($startDate);
|
|
|
|
|
$endTime = strtotime($endDate) + 86399;
|
|
|
|
@ -207,7 +209,7 @@ class SpendController extends ThinkController
|
|
|
|
|
$map['spend_time'] = array('BETWEEN', array($startTime, $endTime));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$map['pay_status'] = $payStatus;
|
|
|
|
|
$map['pay_real_status'] = $payStatus;
|
|
|
|
|
|
|
|
|
|
unset($_REQUEST['timestart']);
|
|
|
|
|
unset($_REQUEST['timeend']);
|
|
|
|
@ -252,14 +254,8 @@ class SpendController extends ThinkController
|
|
|
|
|
unset($_REQUEST['extend']);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['pay_way'])) {
|
|
|
|
|
if ($_REQUEST['pay_way'] == 2) {
|
|
|
|
|
$map['pay_way'] = ['in', '2,3,4'];
|
|
|
|
|
} else {
|
|
|
|
|
$map['pay_way'] = $_REQUEST['pay_way'];
|
|
|
|
|
}
|
|
|
|
|
unset($_REQUEST['pay_way']);
|
|
|
|
|
}
|
|
|
|
|
$map['pay_way'] = ['in', '41'];
|
|
|
|
|
|
|
|
|
|
if (isset($_REQUEST['pay_game_status'])) {
|
|
|
|
|
$map['pay_game_status'] = $_REQUEST['pay_game_status'];
|
|
|
|
|
unset($_REQUEST['pay_game_status']);
|
|
|
|
|