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