|
|
@ -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);
|
|
|
|
|
|
|
|
|
|
|
|