if (isset($_REQUEST['server_id'])||isset($_REQUEST['game_name'])||isset($_REQUEST['promote_id'])||isset($_REQUEST['admin_id'])||isset($_REQUEST['admin_user_id'])) {
$data = M('promote', 'tab_')->alias('tp1')
$data = M('promote', 'tab_')->alias('tp1')
->field('tp1.account as promote_account,tp1.id,
->field('tp1.account as promote_account,tp1.id,
floor(sum(pay_amount)*100) as count')
floor(sum(pay_amount)*100) as count')
@ -687,16 +686,28 @@ class PlatformController extends ThinkController
->group('tp1.id')
->group('tp1.id')
->order('count desc')
->order('count desc')
->select();
->select();
} else {
$statisticsMap['time'] =$map['pay_time'];
// if (isset($_REQUEST['server_id'])||isset($_REQUEST['game_name'])||isset($_REQUEST['promote_id'])||isset($_REQUEST['admin_id'])||isset($_REQUEST['admin_user_id'])) {