|
|
|
@ -302,8 +302,9 @@ class PayChannelController extends ThinkController
|
|
|
|
|
$coinSum = number_format($coinSum + $offcialData['pay_amount'] + $spreadData['pay_amount']+$offcialTestCost,2,'.','');
|
|
|
|
|
}
|
|
|
|
|
$sum_pay_amount = M('test_order', 'tab_')->where($maptestorder)->field('sum(pay_amount) as sum_order_amount')->find();
|
|
|
|
|
|
|
|
|
|
$moneyAllCount = array_sum(array_column($channelData, 'pay_amount'));
|
|
|
|
|
$moneyAllCount = array_sum(array_column($channelData, 'sum_order_amount'));
|
|
|
|
|
$sumData['pay_amount'] += $sum_pay_amount["sum_order_amount"];
|
|
|
|
|
$sumData['sum'] += $sum_pay_amount["sum_order_amount"];
|
|
|
|
|
if($_REQUEST['export'] == 1) {
|
|
|
|
|
|
|
|
|
|
$title = array('产品名称','游戏现金金额','平台币直冲金额','测试金额','支付渠道内合计');
|
|
|
|
@ -334,7 +335,6 @@ class PayChannelController extends ThinkController
|
|
|
|
|
$testOrder['sum'] = $sum_pay_amount['sum_order_amount'] ?: "0";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//充值方式统计
|
|
|
|
|
$payTypeDataExport['game_name'] = '充值方式统计';
|
|
|
|
|
foreach($payTypeData as $key => $value) {
|
|
|
|
|