推广平台->数据管理->数据汇总--更新

master
chenxiaojun 5 years ago
parent 15373077b7
commit 67af68fc43

@ -1310,20 +1310,7 @@ class QueryController extends BaseController
$allGameIs = array_column($allGameIs, 'game_id'); $allGameIs = array_column($allGameIs, 'game_id');
$records = []; $records = [];
$allData['role_num'] = 0; $allData = [];
$allData['user_num'] = 0;
$allData['new_user_num'] = 0;
$allData['new_device_num'] = 0;
$allData['new_ip_num'] = 0;
$allData['login_user_num'] = 0;
$allData['spend_user_num'] = 0;
$allData['spend_num'] = 0;
$allData['spend_all_amount'] = 0;
$allData['spend_cash'] = 0;
$allData['spend_generic'] = 0;
$allData['spend_binding'] = 0;
$allData['spend_discount'] = 0;
$allData['spend_voucher'] = 0;
if (!empty($data)) { if (!empty($data)) {
if (intval($endTime - $begTime) / (24 * 3600) <= 31) { if (intval($endTime - $begTime) / (24 * 3600) <= 31) {
$gameIds = array_column($data, 'game_id'); $gameIds = array_column($data, 'game_id');
@ -1386,6 +1373,8 @@ class QueryController extends BaseController
$allData['spend_generic'] = $spendRepository->getPayAmountByGameAndType($params);//通用币充值 $allData['spend_generic'] = $spendRepository->getPayAmountByGameAndType($params);//通用币充值
$params['pay_way'] = -1; $params['pay_way'] = -1;
$allData['spend_binding'] = $spendRepository->getPayAmountByGameAndType($params);//绑定币充值 $allData['spend_binding'] = $spendRepository->getPayAmountByGameAndType($params);//绑定币充值
$allData['spend_discount'] = 0;
$allData['spend_voucher'] = 0;
} }
} }

Loading…
Cancel
Save