推广后台->数据管理->数据汇总|每日概况--更新

master
chenxiaojun 5 years ago
parent 7220247ecd
commit a32565e2e1

@ -1301,6 +1301,7 @@ class QueryController extends BaseController
$allData['spend_discount'] = 0; $allData['spend_discount'] = 0;
$allData['spend_voucher'] = 0; $allData['spend_voucher'] = 0;
if (!empty($data)) { if (!empty($data)) {
if (intval($endTime - $begTime) / (24 * 3600) <= 30) {
$gameIds = []; $gameIds = [];
foreach ($data as $list) { foreach ($data as $list) {
$gameIds[] = $list['game_id']; $gameIds[] = $list['game_id'];
@ -1362,6 +1363,7 @@ class QueryController extends BaseController
$allData['spend_voucher'] = bcadd($allData['spend_voucher'], 0, 2); $allData['spend_voucher'] = bcadd($allData['spend_voucher'], 0, 2);
} }
} }
}
$serverData = $this->getServer($relationGameId, $sdkVersion); $serverData = $this->getServer($relationGameId, $sdkVersion);

Loading…
Cancel
Save