|
|
|
@ -7,6 +7,7 @@ class RechargeSumController extends ThinkController
|
|
|
|
|
|
|
|
|
|
public function summation($p = 1)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
$startDateTime = empty($_REQUEST['timeStart']) ? date('Y-m-d', strtotime('-6 day', time())) : $_REQUEST['timeStart'];
|
|
|
|
|
$endDateTime = empty($_REQUEST['timeEnd']) ? date('Y-m-d') : $_REQUEST['timeEnd'];
|
|
|
|
|
$startTime = strtotime($startDateTime);
|
|
|
|
@ -53,10 +54,12 @@ class RechargeSumController extends ThinkController
|
|
|
|
|
$rmap['game_id'] = $map['game_id'] = ['in', array_column(getGameByName($_REQUEST['game_name'], $_REQUEST['game_type']), 'id')];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!empty($_REQUEST['server_id'])) {
|
|
|
|
|
if (!empty($_REQUEST['server_id']) || !empty($_REQUEST['server_name'])) {
|
|
|
|
|
if(isset($_REQUEST['server_name'])){
|
|
|
|
|
$_REQUEST['server_id'] = M("server","tab_")->field("id")->where("server_name = '{$_REQUEST['server_name']}'")->find()["id"];
|
|
|
|
|
}
|
|
|
|
|
$rmap['tab_user_play.server_id'] = $map['server_id'] = $_REQUEST['server_id'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($_REQUEST['bindcoin'] == 1) {
|
|
|
|
|
$map['pay_way'] = array('egt', 0);
|
|
|
|
|
}
|
|
|
|
|