|
|
@ -44,6 +44,12 @@ class PlatformController extends ThinkController
|
|
|
|
$map['fgame_name'] = $_REQUEST['game_name'];
|
|
|
|
$map['fgame_name'] = $_REQUEST['game_name'];
|
|
|
|
unset($_REQUEST['fgame_name']);
|
|
|
|
unset($_REQUEST['fgame_name']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$promoteRoot = getPowerPromoteIds();
|
|
|
|
|
|
|
|
if ($promoteRoot) {
|
|
|
|
|
|
|
|
$map['promote_id'] =array('in',$promoteRoot);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$today = total(1);
|
|
|
|
$today = total(1);
|
|
|
|
$week = total(2);
|
|
|
|
$week = total(2);
|
|
|
|
$mounth = total(3);
|
|
|
|
$mounth = total(3);
|
|
|
@ -120,6 +126,11 @@ class PlatformController extends ThinkController
|
|
|
|
unset($_REQUEST['timeend']);
|
|
|
|
unset($_REQUEST['timeend']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$promoteRoot = getPowerPromoteIds();
|
|
|
|
|
|
|
|
if ($promoteRoot) {
|
|
|
|
|
|
|
|
$map['promote_id'] =array('in',$promoteRoot);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// var_dump($_REQUEST);exit;
|
|
|
|
// var_dump($_REQUEST);exit;
|
|
|
|
if (isset($_REQUEST['game_name']) && $_REQUEST['game_name'] != '') {
|
|
|
|
if (isset($_REQUEST['game_name']) && $_REQUEST['game_name'] != '') {
|
|
|
|
$map['game_id'] = $_REQUEST['game_name'];
|
|
|
|
$map['game_id'] = $_REQUEST['game_name'];
|
|
|
@ -204,6 +215,12 @@ class PlatformController extends ThinkController
|
|
|
|
$map['register_way'] = $_REQUEST['register_way'];
|
|
|
|
$map['register_way'] = $_REQUEST['register_way'];
|
|
|
|
unset($_REQUEST['register_way']);
|
|
|
|
unset($_REQUEST['register_way']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$promoteRoot = getPowerPromoteIds();
|
|
|
|
|
|
|
|
if ($promoteRoot) {
|
|
|
|
|
|
|
|
$map['promote_id'] =array('in',$promoteRoot);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$today = total(1);
|
|
|
|
$today = total(1);
|
|
|
|
$week = total(2);
|
|
|
|
$week = total(2);
|
|
|
|
$mounth = total(3);
|
|
|
|
$mounth = total(3);
|
|
|
@ -282,6 +299,12 @@ class PlatformController extends ThinkController
|
|
|
|
$map['pay_way'] = array('in', $_REQUEST['pay_way']);
|
|
|
|
$map['pay_way'] = array('in', $_REQUEST['pay_way']);
|
|
|
|
unset($_REQUEST['pay_way']);
|
|
|
|
unset($_REQUEST['pay_way']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$promoteRoot = getPowerPromoteIds();
|
|
|
|
|
|
|
|
if ($promoteRoot) {
|
|
|
|
|
|
|
|
$map['promote_id'] =array('in',$promoteRoot);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|
$today = total(1);
|
|
|
|
$today = total(1);
|
|
|
|
$week = total(2);
|
|
|
|
$week = total(2);
|
|
|
|