Merge branch 'hotfix/agg_data' of wmtx/platform into master

修改bug
master
廖金灵 4 years ago committed by Gogs
commit 637f22c22b

@ -8320,11 +8320,8 @@ class ExportController extends Controller
return false; return false;
}); });
$gameSets = []; $gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->where(['game_id' => ['in', $gameIds]])->select();
if (count($gameIds) > 0) { $gameSets = index_by_column('game_id', $gameSets);
$gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->where(['game_id' => ['in', $gameIds]])->select();
$gameSets = index_by_column('game_id', $gameSets);
}
$searchGameCodes = []; $searchGameCodes = [];
if (count($searchGameIds) > 0) { if (count($searchGameIds) > 0) {

@ -748,11 +748,8 @@ class FinanceController extends ThinkController
return false; return false;
}); });
$gameSets = []; $gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->select();
if (count($gameIds) > 0) { $gameSets = index_by_column('game_id', $gameSets);
$gameSets = M('game_set', 'tab_')->field(['game_id', 'pay_notify_url'])->where(['game_id' => ['in', $gameIds]])->select();
$gameSets = index_by_column('game_id', $gameSets);
}
$searchGameCodes = []; $searchGameCodes = [];
if (count($searchGameIds) > 0) { if (count($searchGameIds) > 0) {

Loading…
Cancel
Save