推广平台->数据管理->每日概况|数据汇总--sql优化

master
chenxiaojun 5 years ago
commit bbe32dd3b2

@ -1316,10 +1316,7 @@ class QueryController extends BaseController
$allData['spend_voucher'] = 0;
if (!empty($data)) {
if (intval($endTime - $begTime) / (24 * 3600) <= 31) {
$gameIds = [];
foreach ($data as $list) {
$gameIds[] = $list['game_id'];
}
$gameIds = array_column($data, 'game_id');
$params['game_ids'] = $gameIds;
$userRepository = new UserRepository();

Loading…
Cancel
Save